Sanitize content with allowed HTML Kses rules.
wp_filter_kses should generally be preferred over wp_kses_data because wp_magic_quotes escapes $_GET, $_POST, $_COOKIE, $_SERVER, and $_REQUEST fairly early in the hook system, shortly after 'plugins_loaded' but earlier then 'init' or 'wp_loaded'.
<?php wp_filter_kses( $data ) ?>
Since: 1.0.0
wp_filter_kses() is located in wp-includes/kses.php
.