wp_kses_post_deep( mixed $data )

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


Description Description

See also See also


Top ↑

Parameters Parameters

$data

(mixed) (Required) The array, object, or scalar value to inspect.


Top ↑

Return Return

(mixed) The filtered content.


Top ↑

Source Source

File: wp-includes/kses.php

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


Top ↑

Changelog Changelog

Changelog
Version Description
4.4.2 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.