apply_filters( 'http_api_transports', string[] $transports, array $args, string $url )

Filters which HTTP transports are available and in what order.


Parameters

$transports

Array of HTTP transports to check. Default array contains 'curl' and 'streams', in that order.

$args

HTTP request arguments.

$url

The URL to request.


Source

File: wp-includes/class-wp-http.php

View on GitHub



Changelog

Changelog
Version Description
3.7.0 Introduced.