该函数接收来自wpautop()中 preg_replace_callback 的匹配数组或字符串。
确保 <pre>...</pre> HTML块中的内容没有转换成段落或分行符。
<?php clean_pre( $matches ) ?>
$matches
(数组 | 字符串)(必需)数组或字符串
默认值:None
(字符串)
未转换段落或分行符的<pre>块
自1.2.0版本起
clean_pre()位于 wp-includes/theme.php中。
最新评论
4 年 21 周之前
4 年 21 周之前
4 年 21 周之前
4 年 21 周之前
4 年 21 周之前
4 年 21 周之前
4 年 21 周之前
4 年 21 周之前
4 年 21 周之前
4 年 21 周之前