remove_shortcode

Advertisement

Summery Summery

Removes hook for shortcode.

Syntax Syntax

remove_shortcode( string $tag )

Parameters Parameters

$tag

(string) (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

This site uses Akismet to reduce spam. Learn how your comment data is processed.