remove_shortcode( string $tag )

Removes hook for shortcode.


Parameters

$tag

(string) (Required) Shortcode tag to remove hook for.


Source

File: wp-includes/shortcodes.php

function remove_shortcode($tag) {
	global $shortcode_tags;

	unset($shortcode_tags[$tag]);
}

Changelog

Changelog
Version Description
WP-2.5.0 Introduced.