过滤钩子:过滤要通过kse运行的内容。
apply_filters( ‘pre_kses’, string $string , array[]|string $allowed_html , string[] $allowed_protocols )
参数(Parameters)
参数 | 类型 | 说明 |
---|---|---|
$string | (string) | 通过KSES运行的内容。 |
$allowed_html | (array[] | string) | 允许的HTML元素。 |
$allowed_protocols | (string[]) | 允许的URL协议的数组。 |
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
2.3.0 | wp-includes/kses.php:914 | 1 | 0 |