Archive | /wp-includes/shortcodes.php RSS feed for this section

remove_all_shortcodes

Clear all shortcodes.This function is simple, it clears all of the shortcode tags by replacing the shortcodes global by a empty array. This is actually a very efficient method for removing all shortcodes.

2707

Continue reading

get_shortcode_regex

Retrieve the shortcode regular expression for searching.The regular expression combines the shortcode tags in the regular expression in a regex class.

1685

Continue reading

do_shortcode

Search content for shortcodes and filter shortcodes through their hooks.If there are no shortcode tags defined, then the content will be returned without any filtering. This might cause issues when plugins are disabled but the shortcode will still show up in the post or content.

974

Continue reading

add_shortcode

Add hook for shortcode tag.There can only be one hook for each shortcode. Which means that if another plugin has a similar shortcode, it will override yours or yours will override theirs depending on which order the plugins are included and/or ran.

365

Continue reading