Active installations200Adoption metric — not a quality score
WordPress.org rating5.0 / 5 from 1 ratings
Official packageDirect from WordPress.org
Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →
WP PlugIndex currently records optiontree Shortcode version 1.0 as active, updated 13y ago and tested up to WordPress 3.6.
Overview
About this plugin
This plugin adds a shortcode [ot_get_option] to pull info from like the function ot_get_option(). Its very simple to use and supports the same values as ot_get_option().
BEWARE: It will not work with options that return non-text values.
Why a shortcode and not the function in PHP? Sometimes I need to implement slight variations of the same site. This allows me to set my options in the UI and have the values propagate into the post content as needed without remembering every place that needs changes.
org/plugins/option-tree/ ) this will probably be useless for you!
Its used like this:
[ot_get_option option_id="XYZ" default="123"]
This is the equivalent of the following in PHP:
ot_get_option("XYZ","123");
com/ethanpil/wp-optiontree-shortcode
WordPress.org metadata
Plugin tags
Topics listed for this plugin in the WordPress.org directory.
ot get option
optiontree
shortcode
Compatibility & maintenance
Compatibility & maintenance
Tested up to WordPress 3.6
Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 3.6.
Current WordPress releaseWordPress 7.1
WordPress.org Tested up to3.6
Minimum requirementsWordPress 3.0 · PHP not listed
Update activity25 Sept 201313y ago
“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.
Changes recorded by WP PlugIndex
Recent tracked changes
No tracked version or compatibility changes have been recorded by WP PlugIndex yet.
Tracking & source
WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.