Fires before the cURL request is executed.
$handleresource$parsed_argsarray$urlstringwp-includes/class-wp-http-curl.php:236WP_Http_Curl::request()wp-includes/class-wp-http-requests-hooks.php:58WP_HTTP_Requests_Hooks::dispatch() * @since 2.8.0 * * @param resource $handle The cURL handle returned by curl_init() (passed by reference). * @param array $parsed_args The HTTP request arguments. * @param string $url The request URL. */ do_action_ref_array( 'http_api_curl', array( &$handle, $parsed_args, $url ) ); // We don't need to return the body, so don't. Just execute request and return. if ( ! $parsed_args['blocking'] ) { curl_exec( $handle ); $curl_error = curl_error( $handle );Introduced in 2.8.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.