do_action_ref_array( 'http_api_curl', resource , 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

(resource) &$handle The cURL handle returned by curl_init().


(array) The HTTP request arguments.


(string) The request URL.

Top ↑

Source Source

File: wp-includes/class-wp-http-curl.php

View on Trac

Top ↑

Changelog Changelog

Version Description
2.8.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.