apply_filters( 'wp_http_accept_encoding', array $type, string $url, array $args )

Filters the allowed encoding types.


Parameters

$type

(array) Encoding types allowed. Accepts 'gzinflate', 'gzuncompress', 'gzdecode'.

$url

(string) URL of the HTTP request.

$args

(array) HTTP request arguments.


Source

File: wp-includes/class-wp-http-encoding.php

View on GitHub



Changelog

Changelog
Version Description
WP-3.6.0 Introduced.