wp_filter_kses( string $data )
Sanitize content with allowed HTML KSES rules.
Description Description
This function expects slashed data.
Parameters Parameters
- $data
-
(string) (Required) Content to filter, expected to be escaped with slashes.
Return Return
(string) Filtered content.
Source Source
File: wp-includes/kses.php
function wp_filter_kses( $data ) { return addslashes( wp_kses( stripslashes( $data ), current_filter() ) ); }
Expand full source code Collapse full source code View on Trac
Changelog Changelog
Version | Description |
---|---|
1.0.0 | Introduced. |