W3cubDocs

/WordPress

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

View on Trac

Changelog

Version Description
3.5.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_kses_allowed_html