A WordPress-centric search engine for devs and theme authors



wp_kses_data ›

Since2.9.0
Deprecatedn/a
wp_kses_data ( $data )
Parameters:
  • (string) $data Content to filter, expected to not be escaped
    Required: Yes
Returns:
  • (string) Filtered content
Defined at:
Codex:

Sanitize content with allowed HTML Kses rules.



Source

function wp_kses_data( $data ) {
	return wp_kses( $data, current_filter() );
}