wp_kses_data( string $data )
Sanitize content with allowed HTML Kses rules.
Parameters
- $data
-
(Required) Content to filter, expected to not be escaped
Return
(string) Filtered content
Source
File: wp-includes/kses.php
function wp_kses_data( $data ) {
return wp_kses( $data, current_filter() );
}
Changelog
Version | Description |
---|---|
WP-2.9.0 | Introduced. |