apply_filters( 'wp_kses_allowed_html', array[]|string $context, string $context_type )
Filters the HTML that is allowed for a given context.
Parameters
- $context
-
(array[]|string) Context to judge allowed tags by.
- $context_type
-
(string) Context name.
Source
File: wp-includes/kses.php
Changelog
Version | Description |
---|---|
3.5.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_kses_allowed_html