WordPress at a glance
function is not described

wp_kses_post_deep() WP 4.4.2

Navigates through an array, object, or scalar, and sanitizes content for allowed HTML tags for post content.

  • See: map_deep()

No Hooks.


Mixed. The filtered content.


wp_kses_post_deep( $data );
$data(mixed) (required)
The array, object, or scalar value to inspect.

Code of wp kses post deep: wp-includes/kses.php VER 5.1.1

function wp_kses_post_deep( $data ) {
	return map_deep( $data, 'wp_kses_post' );