pre_kses
最后更新于:2021-11-27 19:18:06
apply_filters( ‘pre_kses’, string $string, array[]|string $allowed_html, string[] $allowed_protocols )
Filters content to be run through KSES.
参数
- $string
-
(string)
Content to filter through KSES. - $allowed_html
-
(array[]|string)
An array of allowed HTML elements and attributes, or a context name such as ‘post’. See gc_kses_allowed_html() for the list of accepted context names. - $allowed_protocols
-
(string[])
Array of allowed URL protocols.
源文件
文件: gc-includes/kses.php