wphooks.info - wp_http_accept_encoding

wp_http_accept_encoding

(trunk - 5.1-alpha-44286)

The hook occurs in the following file:

wp-includes/class-wp-http-encoding.php:
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
		/**
		 * Filters the allowed encoding types.
		 *
		 * @since 3.6.0
		 *
		 * @param array  $type Encoding types allowed. Accepts 'gzinflate',
		 *                     'gzuncompress', 'gzdecode'.
		 * @param string $url  URL of the HTTP request.
		 * @param array  $args HTTP request arguments.
		 */
		$type = apply_filters( 'wp_http_accept_encoding', $type, $url, $args );

		return implode( ', ', $type );
	}

	/**
	 * What encoding the content used when it was compressed to send in the headers.
	 *
	 * @since 2.8.0
	 *