WordPress at a glance

remove_shortcode() WP 1.0

Removes hook for shortcode.

  • Global. Array. $shortcode_tags

No Hooks.

Return

Nothing (null).

Usage

remove_shortcode( $tag );
$tag(string) (required)
Shortcode tag to remove hook for.

Code of remove shortcode: wp-includes/shortcodes.php VER 5.1.1

<?php
function remove_shortcode( $tag ) {
	global $shortcode_tags;

	unset( $shortcode_tags[ $tag ] );
}

Related Functions

From category: Shortcodes

No comments
    Hello, !     Log In . Register