WordPress at a glance
filter is not described

wp_http_accept_encoding filter-hook . WP 3.6.0

Filters the allowed encoding types.

Usage

add_filter( 'wp_http_accept_encoding', 'filter_function_name_2671', 10, 3 );
function filter_function_name_2671( $type, $url, $args ){
	// filter...

	return $type;
}
$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.

Список изменений

С версии 3.6.0 Введена.

Где вызывается хук

WP_Http_Encoding::accept_encoding()
wp_http_accept_encoding
wp-includes/class-wp-http-encoding.php 183
$type = apply_filters( 'wp_http_accept_encoding', $type, $url, $args );

Где используется хук в ядре WP

Использование не найдено.