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

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


Parameters

$response

(array) HTTP response.

$args

(array) HTTP request arguments.

$url

(string) The request URL.


Source

File: wp-includes/class-http.php

View on GitHub



Changelog

Changelog
Version Description
WP-2.9.0 Introduced.