do_action( 'http_api_debug', array|WP_Error $response, string $context, string $class, array $parsed_args, string $url )

Fires after an HTTP API response is received and before the response is returned.


Parameters

$response

HTTP response or WP_Error object.

$context

Context under which the hook is fired.

$class

HTTP transport used.

$parsed_args

HTTP request arguments.

$url

The request URL.


Source

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

View on GitHub



Changelog

Changelog
Version Description
2.8.0 Introduced.