remove_shortcode( string $tag )
Removes hook for shortcode.
Description
Parameters
- $tag
-
(string) (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 |
---|---|
2.5.0 | Introduced. |
Expand full source codeCollapse full source code