WordPress at a glance

wp_filter_nohtml_kses() WP 1.0

Strips all of the HTML in the content.

Works based on: wp_kses()

No Hooks.


String. Filtered content without any HTML


wp_filter_nohtml_kses( $data );
$data(string) (required)
Content to strip all HTML from

Code of wp_filter_nohtml_kses: wp-includes/kses.php VER 4.9.8

function wp_filter_nohtml_kses( $data ) {
	return addslashes( wp_kses( stripslashes( $data ), 'strip' ) );

Related Functions

From tag: kses (html cleanup sanitize)

More from category: Sanitizing, Escaping

No comments
    Hello, !     Log In . Register