File: wp-includes/shortcodes.php
-
functionget_shortcode_tags_in_content()
Returns a list of registered shortcode names found in the given content.
-
function_filter_do_shortcode_context()
Filter the `wp_get_attachment_image_context` hook during shortcode rendering.
-
functionapply_shortcodes()
Searches content for shortcodes and filter shortcodes through their hooks.
-
Filters the list of shortcode tags to remove from the content.
-
Filters whether to call a shortcode callback.
-
hookdo_shortcode_tag
Filters the output created by a shortcode callback.
-
functionget_shortcode_atts_regex()
Retrieves the shortcode attributes regex.
-
functiondo_shortcodes_in_html_tags()
Searches only inside HTML elements for shortcodes and process them.
-
functionunescape_invalid_shortcodes()
Removes placeholders added by do_shortcodes_in_html_tags().
-
functionstrip_shortcodes()
Removes all shortcode tags from the given content.
-
functionstrip_shortcode_tag()
Strips a shortcode tag based on RegEx matches against post content.
-
functionshortcode_exists()
Determines whether a registered shortcode exists named $tag.
-
functionhas_shortcode()
Determines whether the passed content contains the specified shortcode.
-
functiondo_shortcode()
Searches content for shortcodes and filter shortcodes through their hooks.
-
functionget_shortcode_regex()
Retrieves the shortcode regular expression for searching.
-
functiondo_shortcode_tag()
Regular Expression callable for do_shortcode() for calling shortcode hook.
-
functionshortcode_parse_atts()
Retrieves all attributes from the shortcodes tag.
-
functionshortcode_atts()
Combines user attributes with known attributes and fill in defaults when needed.
-
Filters shortcode attributes.
-
functionadd_shortcode()
Adds a new shortcode.
-
functionremove_shortcode()
Removes hook for shortcode.
-
functionremove_all_shortcodes()
Clears all shortcodes.