wphooks.info - http_response

http_response

(trunk - 5.0-alpha-42716)

The hook occurs in the following 2 files

wp-includes/class-http.php:
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
		/**
		 * 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:
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
		/**
		 * 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
	 *