apply_filters( 'use_curl_transport', bool $use_class , array $args )
Filters whether cURL can be used as a transport for retrieving a URL.
Parameters
- $use_class
-
Whether the class can be used. Default true.
- $args
-
An array of request arguments.
Source
Changelog
Version | Description |
---|---|
2.7.0 | Introduced. |