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



remove_shortcode › WordPress Function

Depuis2.5.0
Dépréciéen/a
remove_shortcode ( $tag )
Paramètres:
  • (string) $tag Shortcode tag to remove hook for.
    Requis: Oui
Défini(e) dans:
Codex:

Removes hook for shortcode.



Source

function remove_shortcode( $tag ) {
	global $shortcode_tags;

	unset( $shortcode_tags[ $tag ] );
}