A WordPress-centric search engine for devs and theme authors



pre_kses ›

Since2.3.0
Deprecatedn/a
apply_filters( 'pre_kses', $string, $allowed_html, $allowed_protocols )
Parameters: (3)
  • (string) $string Content to run through KSES.
    Required: Yes
  • (array[]|string) $allowed_html Allowed HTML elements.
    Required: Yes
  • (string[]) $allowed_protocols Array of allowed URL protocols.
    Required: Yes
Defined at:
Codex:

Filters content to be run through kses.





Source

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