WordPress at a glance
action is not described

http_api_curl action-hook . WP 2.8.0

Fires before the cURL request is executed.

Cookies are not currently handled by the HTTP API. This action allows plugins to handle cookies themselves.


add_action( 'http_api_curl', 'action_function_name_5442', 10, 3 );
function action_function_name_5442( $handle, $r, $url ){
	// action...
The cURL handle returned by curl_init() (passed by reference).
The HTTP request arguments.
The request URL.

Where the hook is called

wp-includes/class-wp-http-curl.php 220
do_action_ref_array( 'http_api_curl', array( &$handle, $r, $url ) );
wp-includes/class-wp-http-requests-hooks.php 57
do_action_ref_array( 'http_api_curl', array( &$parameters[0], $this->request, $this->url ) );

Where the hook is used (in WP core)

Does not used.