remove_shortcode( string $tag )

Removes hook for shortcode.


Description


Parameters

$tag

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


Top ↑

Source

File: wp-includes/shortcodes.php

function remove_shortcode( $tag ) {
	global $shortcode_tags;

	unset( $shortcode_tags[ $tag ] );
}

Top ↑

Changelog

Version Description
2.5.0 Introduced.