Stores information about available shortcodes as an option and provides a method to easily add a media button with configurable options.
As of April 2026, WP Shortcodes API is a WordPress shortcode plugin with 10 active installations and a 0/5 rating0. It has been downloaded 2.1K+ times in total. Requires WordPress 3.0+ and PHP false+. Available on WordPress.org since 2012. Last updated 13 years ago — may have compatibility concerns. Top alternative: WP Shortcodes Plugin — Shortcodes….
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.
| WordPress | 3.0+ requiredTested up to 3.4.2 |
| PHP | false+ required |
Initial release.
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.