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



remove_shortcode › WordPress Function

Since2.5.0
Deprecatedn/a
remove_shortcode ( $tag )
Parameters:
  • (string) $tag Shortcode tag to remove hook for.
    Required: Yes
Defined at:
Codex:

Removes hook for shortcode.



Source

function remove_shortcode( $tag ) {
	global $shortcode_tags;

	unset( $shortcode_tags[ $tag ] );
}