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



remove_all_shortcodes ›

Since2.5.0
已弃用n/a
remove_all_shortcodes ( 没有参数 )
定义在:
文档:

Clear all shortcodes.

This function is simple, it clears all of the shortcode tags by replacing the shortcodes global by a empty array. This is actually a very efficient method for removing all shortcodes.



源码

function remove_all_shortcodes() {
	global $shortcode_tags;

	$shortcode_tags = array();
}