clean_pre()

clean_pre( array|string $matches )

接受wpautop()中preg_replace_回调的matches数组或字符串。
Accepts matches array from preg_replace_callback in wpautop() or a string.

说明(Description)

确保

..

HTML块的内容不会转换为段落或换行符。


参数(Parameters)

参数类型必填说明
$matches(array | string)必需数组或字符串

返回(Return)

(string)没有段落/换行转换的前块。


源码(Source)

clean_pre() 函数的代码位于 wp-includes/formatting.php.
更新版本源码位置使用被使用
3.4.0wp-includes/deprecated.php:295801 function
个人中心
购物车
优惠劵
今日签到
有新私信 私信列表
搜索