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



remove_all_shortcodes › WordPress Function

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

Clears all shortcodes.

This function clears all of the shortcode tags by replacing the shortcodes global with an empty array. This is actually an efficient method for removing all shortcodes.


源码

function remove_all_shortcodes() {
	global $shortcode_tags;

	$shortcode_tags = array();
}