WordPress开发者和主题制作者的搜索引擎



wp_kses_data ›

Since2.9.0
已弃用n/a
wp_kses_data ( $data )
参数:
  • (string) $data Content to filter, expected to not be escaped.
    Required: Yes
返回:
  • (string) Filtered content.
定义在:
文档:

Sanitize content with allowed HTML KSES rules.

This function expects unslashed data.



源码

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