wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



wp_filter_nohtml_kses › WordPress Function

Da2.1.0
Deprecaton/a
wp_filter_nohtml_kses ( $data )
Parametri:
  • (string) $data Content to strip all HTML from.
    Richiesto:
Ritorna:
  • (string) Filtered content without any HTML.
Definito a:
Codex:

Strips all HTML from a text string.

This function expects slashed data.


Sorgenti

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