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


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.


Continue reading


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


Continue reading


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.


Continue reading


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.


Continue reading