过滤允许给定上下文的HTML元素。
原型
apply_filters( 'wp_kses_allowed_html', array $context, string $context_type )
参数
$context
(array)
上下文来判断允许的标签。
$context_type
(string)
上下文类型(显式)。
源文件
路径:wp-includes/kses.php
其他
英文文档:https://developer.wordpress.org/reference/hooks/wp_kses_allowed_html/