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 Parameters

$response

(array|WP_Error) HTTP response or WP_Error object.

$context

(string) Context under which the hook is fired.

$class

(string) HTTP transport used.

$parsed_args

(array) HTTP request arguments.

$url

(string) The request URL.


Top ↑

Source Source

File: wp-includes/class-http.php

View on Trac



Top ↑

Changelog Changelog

Changelog
Version Description
2.8.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

Top ↑

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