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



wp_loading_optimization_force_header_contexts › WordPress过滤钩子

Since6.4.0
已弃用n/a
› apply_filters( 'wp_loading_optimization_force_header_contexts', $header_enforced_contexts )
参数:
  • () default_header_enforced_contexts Map of contexts for which elements should be considered in the header of the page, as $context => $enabled pairs. The $enabled should always be true.
    Required: Yes
定义在:
文档:

Filters the header-specific contexts.





源码

$header_enforced_contexts = apply_filters( 'wp_loading_optimization_force_header_contexts', $header_enforced_contexts );