wphooks.info - http_response

http_response

(trunk - 5.0-alpha-42177)

The hook occurs in the following 2 files

wp-includes/class-http.php:
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
		/**
		 * Filters the HTTP API response immediately before the response is returned.
		 *
		 * @since 2.9.0
		 *
		 * @param array  $response HTTP response.
		 * @param array  $r        HTTP request arguments.
		 * @param string $url      The request URL.
		 */
		return apply_filters( 'http_response', $response, $r, $url );
	}

	/**
	 * Normalizes cookies for using in Requests.
	 *
	 * @since 4.6.0
	 * @static
	 *
	 * @param array $cookies List of cookies to send with the request.
wp-includes/class-http.php:
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
		/**
		 * Filters the HTTP API response immediately before the response is returned.
		 *
		 * @since 2.9.0
		 *
		 * @param array  $response HTTP response.
		 * @param array  $args     HTTP request arguments.
		 * @param string $url      The request URL.
		 */
		return apply_filters( 'http_response', $response, $args, $url );
	}

	/**
	 * Uses the POST HTTP method.
	 *
	 * Used for sending data that is expected to be in the body.
	 *
	 * @since 2.7.0
	 *