Fires after an HTTP API response is received and before the response is returned.
$responsearray|WP_Error$contextstring$classstring$parsed_argsarray$urlstringwp-includes/class-wp-http.php:297WP_Http::request()wp-includes/class-wp-http.php:305WP_Http::request()wp-includes/class-wp-http.php:322WP_Http::request()wp-includes/class-wp-http.php:441WP_Http::request()wp-includes/class-wp-http.php:614WP_Http::_dispatch_request() * @param array|WP_Error $response HTTP response or WP_Error object. * @param string $context Context under which the hook is fired. * @param string $class HTTP transport used. * @param array $parsed_args HTTP request arguments. * @param string $url The request URL. */ do_action( 'http_api_debug', $response, 'response', 'WpOrg\Requests\Requests', $parsed_args, $url ); if ( is_wp_error( $response ) ) { return $response; } if ( ! $parsed_args['blocking'] ) { return array(Introduced in 2.8.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.