wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



wp_kses_allowed_html › WordPress Filter Hooks

Da3.5.0
Deprecaton/a
apply_filters( 'wp_kses_allowed_html', $html, $context )
Parametri: (2)
  • (array[]) $html Allowed HTML tags.
    Richiesto:
  • (string) $context Context name.
    Richiesto:
Definito a:
Codex:

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

HTML tags and attribute names are case-insensitive in HTML but must be added to the KSES allow list in lowercase. An item added to the allow list in upper or mixed case will not recognized as permitted by KSES.





Sorgenti

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