A WordPress-centric search engine for devs and theme authors



http_api_transports ›

Since3.7.0
Deprecatedn/a
apply_filters( 'http_api_transports', $transports, $args, $url )
Parameters: (3)
  • (array) $transports Array of HTTP transports to check. Default array contains 'curl', and 'streams', in that order.
    Required: Yes
  • (array) $args HTTP request arguments.
    Required: Yes
  • (string) $url The URL to request.
    Required: Yes
Defined at:
Codex:

Filters which HTTP transports are available and in what order.





Source

$request_order = apply_filters( 'http_api_transports', $transports, $args, $url );