Un motore di ricerca WordPress per sviluppatori e autori di temi



remove_all_shortcodes ›

Da2.5.0
Deprecaton/a
remove_all_shortcodes ( Nessun parametro )
Definito a:
Codex:

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.



Sorgenti

function remove_all_shortcodes() {
	global $shortcode_tags;

	$shortcode_tags = array();
}