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



pre_kses › WordPress过滤钩子

Since2.3.0
已弃用n/a
› apply_filters( 'pre_kses', $content, $allowed_html, $allowed_protocols )
参数: (3)
  • () content Content to filter through KSES.
    Required: Yes
  • () allowed_html An array of allowed HTML elements and attributes, or a context name such as 'post'. See wp_kses_allowed_html() for the list of accepted context names.
    Required: Yes
  • () allowed_protocols Array of allowed URL protocols.
    Required: Yes
定义在:
文档:

Filters content to be run through KSES.





源码

return apply_filters( 'pre_kses', $content, $allowed_html, $allowed_protocols );