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



wp_pre_kses_less_than › WordPress Function

Since2.3.0
已弃用n/a
wp_pre_kses_less_than ( $content )
参数:
  • (string) $content Text to be converted.
    Required: Yes
返回:
  • (string) Converted text.
定义在:
文档:

Converts lone less than signs.

KSES already converts lone greater than signs.


源码

function wp_pre_kses_less_than( $content ) {
	return preg_replace_callback( '%<[^>]*?((?=<)|>|$)%', 'wp_pre_kses_less_than_callback', $content );
}