wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



wp_kses_allowed_html › Filtr WordPress Hooks

Od3.5.0
Przestarzałyn/a
apply_filters( 'wp_kses_allowed_html', $html, $context )
Parametry: (2)
  • (array[]) $html Allowed HTML tags.
    Wymagane: Tak
  • (string) $context Context name.
    Wymagane: Tak
Zdefiniowane na:
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.





Źródło

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