Removes hook for shortcode.
Parameters
$tagstringrequired- Shortcode tag to remove hook for.
Source
function remove_shortcode( $tag ) {
global $shortcode_tags;
unset( $shortcode_tags[ $tag ] );
}
Changelog
| Version | Description |
|---|---|
| 2.5.0 | Introduced. |
Removes hook for shortcode.
$tagstringrequiredfunction remove_shortcode( $tag ) {
global $shortcode_tags;
unset( $shortcode_tags[ $tag ] );
}
| Version | Description |
|---|---|
| 2.5.0 | Introduced. |
You must log in before being able to contribute a note or feedback.
User Contributed Notes