wp_filter_nohtml_kses( string $data )

Strips all of the HTML in the content.

Description Description

Parameters Parameters


(string) (Required) Content to strip all HTML from

Top ↑

Return Return

(string) Filtered content without any HTML

Top ↑

Source Source

File: wp-includes/kses.php

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

Top ↑

Changelog Changelog

Version Description
2.1.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.