wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_kses_allowed_html › WordPress Filter Hooks

Since3.5.0
Deprecatedn/a
apply_filters( 'wp_kses_allowed_html', $html, $context )
Parameters: (2)
  • (array[]) $html Allowed HTML tags.
    Required: Yes
  • (string) $context Context name.
    Required: Yes
Defined at:
Codex:

Filters the HTML tags that are allowed for a given context.





Source

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