A WordPress-centric search engine for devs and theme authors



wp_kses_post_deep ›

Since4.4.2
Deprecatedn/a
wp_kses_post_deep ( $data )
Parameters:
  • (mixed) $data The array, object, or scalar value to inspect.
    Required: Yes
See:
Returns:
  • (mixed) The filtered content.
Defined at:
Codex:

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



Source

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