W3cubDocs

/WordPress

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

Filters the allowed encoding types.

Parameters

$type

(string[]) Array of what encoding types to accept and their priority values.

$url

(string) URL of the HTTP request.

$args

(array) HTTP request arguments.

Source

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

View on Trac

Changelog

Version Description
3.6.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_http_accept_encoding