A WordPress-centric search engine for devs and theme authors



wp_http_accept_encoding ›

Since3.6.0
Deprecatedn/a
apply_filters( 'wp_http_accept_encoding', $type, $url, $args )
Parameters: (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
Defined at:
Codex:

Filters the allowed encoding types.





Source

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