Filters the allowed encoding types.
$typestring[]
$urlstring
$argsarray
Note that the filter function must return a $type value after it is finished processing or the HTTP call will fail.
$type = apply_filters( 'wp_http_accept_encoding', $type, $url, $args );
| Version | Description |
|---|---|
| 3.6.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_http_accept_encoding