Definition:
function 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.
Source code
function remove_all_shortcodes() { global $shortcode_tags; $shortcode_tags = array(); }
2707
No comments yet... Be the first to leave a reply!