Summery Summery
Strips all HTML from a text string.
Syntax Syntax
Description Description
This function expects slashed data.
Parameters Parameters
- $data
-
(Required) Content to strip all HTML from.
Return Return
(string) Filtered content without any HTML.
Source Source
File: wp-includes/kses.php
*/ function wp_filter_kses( $data ) { return addslashes( wp_kses( stripslashes( $data ), current_filter() ) );
Advertisement
Changelog Changelog
Version | Description |
---|---|
2.1.0 | Introduced. |