wpseek.com
WordPress开发者和主题制作者的搜索引擎



remove_shortcode › WordPress Function

Since2.5.0
已弃用n/a
remove_shortcode ( $tag )
参数:
  • (string) $tag Shortcode tag to remove hook for.
    Required: Yes
定义在:
文档:

Removes hook for shortcode.



源码

function remove_shortcode( $tag ) {
	global $shortcode_tags;

	unset( $shortcode_tags[ $tag ] );
}