Uses
Uses | Description |
---|---|
wp-includes/formatting.php: map_deep() | Maps a function to all non-iterable elements of an array or an object. |
Navigates through an array, object, or scalar, and sanitizes content for allowed HTML tags for post content.
(mixed) (Required) The array, object, or scalar value to inspect.
(mixed) The filtered content.
File: wp-includes/kses.php
function wp_kses_post_deep( $data ) { return map_deep( $data, 'wp_kses_post' ); }
Version | Description |
---|---|
4.4.2 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/wp_kses_post_deep