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
$type = apply_filters( 'wp_http_accept_encoding', $type, $url, $args );
Changelog
Version | Description |
---|---|
3.6.0 | Introduced. |
Example Migrated from Codex: