http_response WordPress Filter Hook
The http_response WordPress hook is called after the HTTP response is sent to the browser. This hook is useful for performing any final actions before the page is displayed, such as logging or outputting data.
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
Changelog
Version | Description |
---|---|
2.9.0 | Introduced. |