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



wp_http_accept_encoding ›

Since3.6.0
已弃用n/a
apply_filters( 'wp_http_accept_encoding', $type, $url, $args )
参数: (3)
  • (array) $type Encoding types allowed. Accepts 'gzinflate', 'gzuncompress', 'gzdecode'.
    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 );