remove_shortcode

Advertisement

Summery Summery

Removes hook for shortcode.

Syntax Syntax

remove_shortcode( string $tag )

Parameters Parameters

$tag

(Required) Shortcode tag to remove hook for.

Source Source

File: wp-includes/shortcodes.php

function remove_shortcode( $tag ) {
	global $shortcode_tags;

	unset( $shortcode_tags[ $tag ] );
}

Advertisement

Changelog Changelog

Changelog
Version Description
2.5.0 Introduced.

Advertisement

Leave a Reply