wp_pre_kses_less_than

函数


wp_pre_kses_less_than ( $text )
参数
  • (string)
    $text
    Text to be converted.
    Required:
返回值
  • (string) Converted text.
定义位置
  • wp-includes/formatting.php
    , line 5060
引入
2.3.0
弃用

Converts lone less than signs.

KSES already converts lone greater than signs.

function wp_pre_kses_less_than( $text ) {
	return preg_replace_callback( '%]*?((?=|$)%', 'wp_pre_kses_less_than_callback', $text );
}