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



wp_kses_allowed_html ›

Since3.5.0
已弃用n/a
apply_filters( 'wp_kses_allowed_html', $context, 'explicit' )
参数: (2)
  • (array[]|string) $context Context to judge allowed tags by.
    Required: Yes
  • (string) $context_type Context name.
    Required: Yes
定义在:
文档:

Filters the HTML that is allowed for a given context.





源码

return apply_filters( 'wp_kses_allowed_html', $context, 'explicit' );