Filters the allowed encoding types.
Parameters
$typestring[]- Array of what encoding types to accept and their priority values.
$urlstring- URL of the HTTP request.
$argsarray- 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: