WordPress开发者和主题制作者的搜索引擎



use_curl_transport ›

Since2.7.0
已弃用n/a
apply_filters( 'use_curl_transport', true, $args )
参数: (2)
  • (bool) $use_class Whether the class can be used. Default true.
    Required: Yes
  • (array) $args An array of request arguments.
    Required: Yes
定义在:
文档:

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





源码

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