remove_shortcode() – Removes hook for shortcode.

You appear to be a bot. Output may be restricted

Description

Removes hook for shortcode.

Usage

remove_shortcode( $tag );

Parameters

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

Returns

void

Source

File name: wordpress/wp-includes/shortcodes.php
Lines:

1 to 5 of 5
function remove_shortcode( $tag ) {
  global $shortcode_tags;

  unset( $shortcode_tags[ $tag ] );
}
 

 View on GitHub View on Trac