Filter hook 'wp_http_accept_encoding'

in WP Core File wp-includes/class-wp-http-encoding.php at line 184

Description

Filters the allowed encoding types.

Occurrences

Filename Line Number
wp-includes/class-wp-http-encoding.php 184

Parameters

Type Name Description
string[] $type Array of what encoding types to accept and their priority values.
string $url URL of the HTTP request.
array $args HTTP request arguments.

PHP Doc

/**
		 * Filters the allowed encoding types.
		 *
		 * @since 3.6.0
		 *
		 * @param string[] $type Array of what encoding types to accept and their priority values.
		 * @param string   $url  URL of the HTTP request.
		 * @param array    $args HTTP request arguments.
		 */