wpseek.com
A WordPress-centric search engine for devs and theme authors



remove_all_shortcodes › WordPress Function

Since2.5.0
Deprecatedn/a
remove_all_shortcodes ( No parameters )
Defined at:
Codex:

Clears all shortcodes.

This function clears all of the shortcode tags by replacing the shortcodes global with an empty array. This is actually an efficient method for removing all shortcodes.


Source

function remove_all_shortcodes() {
	global $shortcode_tags;

	$shortcode_tags = array();
}