http_request_args WordPress Filter Hook
The http_request_args hook is called before an HTTP request is sent. It allows for modification of the arguments that will be used for the request.
apply_filters( 'http_request_args', array $parsed_args , string $url ) #
Filters the arguments used in an HTTP request.
Parameters
- $parsed_args
(array)An array of HTTP request arguments.
- $url
(string)The request URL.
Source
Changelog
Version | Description |
---|---|
2.7.0 | Introduced. |