wphooks.info - use_curl_transport

use_curl_transport

(trunk - 5.1-alpha-44286)

The hook occurs in the following file:

wp-includes/class-wp-http-curl.php:
395
396
397
398
399
400
401
402
403
404
405
406
407
		}

		/**
		 * Filters whether cURL can be used as a transport for retrieving a URL.
		 *
		 * @since 2.7.0
		 *
		 * @param bool  $use_class Whether the class can be used. Default true.
		 * @param array $args      An array of request arguments.
		 */
		return apply_filters( 'use_curl_transport', true, $args );
	}
}