Advertisement

Summery Summery

Filters the allowed encoding types.

Syntax Syntax

apply_filters( 'wp_http_accept_encoding', string[] $type, string $url, array $args )

Parameters 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 Source

File: wp-includes/class-wp-http-encoding.php

Advertisement

Changelog Changelog

Changelog
Version Description
3.6.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.