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

In this article

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

Parameters

$responsearray|WP_Error
HTTP response or WP_Error object.
$contextstring
Context under which the hook is fired.
$classstring
HTTP transport used.
$parsed_argsarray
HTTP request arguments.
$urlstring
The request URL.

Source

do_action( 'http_api_debug', $response, 'response', 'WpOrg\Requests\Requests', $parsed_args, $url );

Changelog

VersionDescription
2.8.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.