remove_shortcode( string $tag )
Removes hook for shortcode.
Parameters
- $tag
-
(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
Version | Description |
---|---|
WP-2.5.0 | Introduced. |