WordPress at a glance
filter is not described

use_curl_transport filter-hook . WP 2.7.0

Filters whether cURL can be used as a transport for retrieving a URL.

Usage

add_filter( 'use_curl_transport', 'filter_function_name_7789', 10, 2 );
function filter_function_name_7789( $use_class, $args ){
	// filter...

	return $use_class;
}
$use_class(true/false)
Whether the class can be used.
Default: true
$args(array)
An array of request arguments.

Changelog

Since 2.7.0 Introduced.

Where the hook is called

WP_Http_Curl::test()
use_curl_transport
wp-includes/class-wp-http-curl.php 405
return apply_filters( 'use_curl_transport', true, $args );

Where the hook is used (in WP core)

Usage not found!