首页 WordPress函数大全 clean_pre()

clean_pre()

2020-05-01 / 3238阅 / 悠然

如何你看完本文还不知道如何使用该函数,可以联系我定制视频教程,50元/个函数,学不会全额退款

Warning: This function has been deprecated.

clean_pre( array|string $matches )

Accepts matches array from preg_replace_callback in wpautop() or a string.

描述

Ensures that the contents of a <pre>...</pre> HTML block are not converted into paragraphs or line-breaks.

参数

$matches

(array|string)
(Required)
The array or string

返回

(string) The pre block without paragraph/line-break conversion.

大家谈论
    我的见解