Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/class-wp-http.php | apply_filters | 447 | /** * Filters a successful HTTP API response immediately before the response is returned. * * @since 2.9.0 * * @param array $response HTTP response. * @param array $parsed_args HTTP request arguments. * @param string $url The request URL. */ |
wp-includes/class-wp-http.php | apply_filters | 597 | /** * Dispatches a HTTP request to a supporting transport. * * Tests each transport in order to find a transport which matches the request arguments. * Also caches the transport instance to be used later. * * The order for requests is cURL, and then PHP Streams. * * @since 3.2.0 * @deprecated 5.1.0 Use WP_Http::request() * @see WP_Http::request() * * @param string $url URL to request. * @param array $args Request arguments. * @return array|WP_Error Array containing 'headers', 'body', 'response', 'cookies', 'filename'. * A WP_Error instance upon error. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
array | $response | HTTP response. |
array | $parsed_args | HTTP request arguments. |
string | $url | The request URL. |
array | $response | HTTP response. |
array | $parsed_args | HTTP request arguments. |
string | $url | The request URL. |