
Stores information about available shortcodes as an option and provides a method
to easily add a media button with configurable options.
| Author: | markparolisi, voceplatforms (profile at wordpress.org) |
| WordPress version required: | 3.0 |
| WordPress version tested: | 3.4.2 |
| Plugin version: | 0.8 |
| Added to WordPress repository: | 01-02-2012 |
| Last updated: | 18-10-2012
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|
| Rating, %: | 0 |
| Rated by: | 0 |
| Plugin URI: | http://plugins.voceconnect.com/ |
| Total downloads: | 2 088 |
| Active installs: | 10+ |
![]() Click to start download |
|
The plugin take all of the data registered and created a multi-dimensional array in an option called '_shortcodes'. Existing shortcodes that WP is away of are also stored here with just their name and callback.
A few static methods for checking on shortcode info are provided.
GetShortcodeAtts($shortcode_name)
ShortcodeInPost($shortcode_name, $post_id)
Creating a new media button in the editor is easy with the add_media_button()
method. Just pass your shortcode name, attributes, a page title, introductory
text, and an icon image url.
ChangeLog
