Codex tools: Log in
Contents |
The attributes list has the attribute name as the key and the value of the attribute as the value in the key/value pair. This allows for easier retrieval of the attributes, since all attributes have to be known.
<?php shortcode_parse_atts( $text ); ?>
Used to parse shortcode attributes. Includes attributes that the shortcode doesn't support. Use shortcode_atts to specify specific attributes and only return those.
Since: 2.5
shortcode_parse_atts() is located in wp-includes/shortcodes.php.
Shortcode: do_shortcode(), add_shortcode(), remove_shortcode(), remove_all_shortcodes(), shortcode_atts(), strip_shortcodes(), shortcode_exists(), has_shortcode(), wp_audio_shortcode(), wp_video_shortcode()