wp_kses_post_deep

The timeline below displays how wordpress function wp_kses_post_deep has changed across different WordPress versions. If a version is not listed, refer to the next available version below.

WordPress Version: 4.5

/**
 * Navigates through an array, object, or scalar, and sanitizes content for
 * allowed HTML tags for post content.
 *
 * @since 4.4.2
 *
 * @see map_deep()
 *
 * @param mixed $data The array, object, or scalar value to inspect.
 * @return mixed The filtered content.
 */
function wp_kses_post_deep($data)
{
    return map_deep($data, 'wp_kses_post');
}

WordPress Version: .10

/**
 * Navigates through an array, object, or scalar, and sanitizes content for
 * allowed HTML tags for post content.
 *
 * @since 4.4.2
 *
 * @param mixed $value The array or string to filter.
 * @return mixed $value The filtered content.
 */
function wp_kses_post_deep($data)
{
    return map_deep($data, 'wp_kses_post');
}