wp_filter_nohtml_kses( string $data )
Strips all of the HTML in the content.
Parameters
- $data
-
(Required) Content to strip all HTML from
Return
(string) Filtered content without any HTML
Source
File: wp-includes/kses.php
function wp_filter_nohtml_kses( $data ) {
return addslashes( wp_kses( stripslashes( $data ), 'strip' ) );
}
Changelog
Version | Description |
---|---|
WP-2.1.0 | Introduced. |