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



wp_headers › WordPress过滤钩子

Since2.8.0
已弃用n/a
apply_filters( 'wp_headers', $headers, $this )
参数: (2)
  • (string[]) $headers Associative array of headers to be sent.
    Required: Yes
  • (WP) $wp Current WordPress environment instance.
    Required: Yes
定义在:
文档:

Filters the HTTP headers before they're sent to the browser.





源码

$headers = apply_filters( 'wp_headers', $headers, $this );