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

Filters the allowed encoding types.


Parameters

$type

Encoding types allowed. Accepts 'gzinflate', 'gzuncompress', 'gzdecode'.

$url

URL of the HTTP request.

$args

HTTP request arguments.


Source

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

View on GitHub



Changelog

Changelog
Version Description
WP-3.6.0 Introduced.