apply_filters( 'http_response', array $response, array $parsed_args, string $url )

Filters the HTTP API response immediately before the response is returned.

Parameters

$response

(array) HTTP response.

$parsed_args

(array) HTTP request arguments.

$url

(string) The request URL.

Source

File: wp-includes/class-http.php

View on Trac

Changelog

Version Description
2.9.0 Introduced.

© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/http_response