apply_filters( 'http_response', array $response , array $parsed_args , string $url )
Filters a successful HTTP API response immediately before the response is returned.
Parameters
-
$response
array -
HTTP response.
-
$parsed_args
array -
HTTP request arguments.
-
$url
string -
The request URL.
Source
File: wp-includes/class-wp-http.php
.
View all references
return apply_filters( 'http_response', $response, $parsed_args, $url );
Changelog
Version | Description |
---|---|
2.9.0 | Introduced. |
User Contributed Notes
-
Skip to note 1 content You must log in to vote on the helpfulness of this noteVote results for this note: 0You must log in to vote on the helpfulness of this note