wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_kses_data › WordPress Function

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.

This function expects unslashed data.


Source

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