extra_{$context}_headers
apply_filters( “extra_{$context}_headers”, array $extra_context_headers )
过滤器::按上下文筛选额外的文件头。
Filter Hook: Filters extra file headers by context.
说明(Description)
钩子名$context的动态部分引用了可能加载额外头的上下文。
参数(Parameters)
参数 | 类型 | 说明 |
---|---|---|
$extra_context_headers | (array) | 默认情况下为空数组。 |
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
2.9.0 | wp-includes/functions.php:5995 | 1 | 0 |
extra_{$context}_headers 为WP2原创文章,链接:https://www.wp2.cn/hook/extra_context_headers/