wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



remove_all_shortcodes › WordPress Function

Depuis2.5.0
Dépréciéen/a
› remove_all_shortcodes ( Pas de paramètres )
Défini(e) dans:
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();
}