remove_shortcode( string $tag )
Removes hook for shortcode.
Parameters
-
$tag
string Required -
Shortcode tag to remove hook for.
Source
File: wp-includes/shortcodes.php
.
View all references
function remove_shortcode( $tag ) {
global $shortcode_tags;
unset( $shortcode_tags[ $tag ] );
}
Changelog
Version | Description |
---|---|
2.5.0 | Introduced. |
User Contributed Notes
-
Skip to note 1 content You must log in to vote on the helpfulness of this noteVote results for this note: 5You must log in to vote on the helpfulness of this note -
Skip to note 2 content You must log in to vote on the helpfulness of this noteVote results for this note: -1You must log in to vote on the helpfulness of this note