Uma área de pesquisa sobre o WordPress para devs e autores do tema



http_api_transports ›

Desde3.7.0
Obsoleton/a
apply_filters( 'http_api_transports', $transports, $args, $url )
Parâmetros: (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
Definido em:
Codex:

Filters which HTTP transports are available and in what order.





Fonte

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