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



strip_shortcodes_tagnames › WordPress过滤钩子

Since4.7.0
已弃用n/a
apply_filters( 'strip_shortcodes_tagnames', $tags_to_remove, $content )
参数: (2)
  • (array) $tags_to_remove Array of shortcode tags to remove.
    Required: Yes
  • (string) $content Content shortcodes are being removed from.
    Required: Yes
定义在:
文档:

Filters the list of shortcode tags to remove from the content.





源码

$tags_to_remove = apply_filters( 'strip_shortcodes_tagnames', $tags_to_remove, $content );