wpseek.com
A WordPress-centric search engine for devs and theme authors



use_curl_transport › WordPress Filter Hooks

Since2.7.0
Deprecatedn/a
apply_filters( 'use_curl_transport', true, $args )
Parameters: (2)
  • (bool) $use_class Whether the class can be used. Default true.
    Required: Yes
  • (array) $args An array of request arguments.
    Required: Yes
Defined at:
Codex:

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





Source

return apply_filters( 'use_curl_transport', true, $args );