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



wp_http_accept_encoding › WordPress过滤钩子

Since3.6.0
已弃用n/a
apply_filters( 'wp_http_accept_encoding', $type, $url, $args )
参数: (3)
  • (string[]) $type Array of what encoding types to accept and their priority values.
    Required: Yes
  • (string) $url URL of the HTTP request.
    Required: Yes
  • (array) $args HTTP request arguments.
    Required: Yes
定义在:
文档:

Filters the allowed encoding types.





源码

$type = apply_filters( 'wp_http_accept_encoding', $type, $url, $args );