BACK TO DIRECTORY

WP Shortcodes API

by smccafferty

0.0
(0 ratings)

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.

Plugin Details

Active Installs
10
Total Downloads
2,299
Version
0.8
Requires WP
3.0
Requires PHP
—
Tested Up To
3.4.2
Added
2012-02-01
Last Updated
2012-10-18 7:18pm GMT

Ratings

5
0
4
0
3
0
2
0
1
0