WordPress开发者和主题制作者的搜索引擎



extra_{$context}_headers ›

Since2.9.0
已弃用n/a
apply_filters( "extra_{$context}_headers", array()
参数:
  • (array) $extra_context_headers Empty array by default.
    Required: Yes
定义在:
文档:

Filters extra file headers by context.

The dynamic portion of the hook name, $context, refers to the context where extra headers might be loaded.





源码

$extra_headers = $context ? apply_filters( "extra_{$context}_headers", array() ) : array();