do_action_ref_array( 'http_api_curl', resource $handle , array $r , string $url )
Fires before the cURL request is executed.
Description Description
Cookies are not currently handled by the HTTP API. This action allows plugins to handle cookies themselves.
Parameters Parameters
- $handle
-
(resource) The cURL handle returned by curl_init() (passed by reference).
- $r
-
(array) The HTTP request arguments.
- $url
-
(string) The request URL.
Source Source
Changelog Changelog
Version | Description |
---|---|
2.8.0 | Introduced. |