WordPress at a glance
filter is not described

http_api_transports filter-hook . WP 3.7.0

Filters which HTTP transports are available and in what order.


add_filter( 'http_api_transports', 'filter_function_name_7500', 10, 3 );
function filter_function_name_7500( $transports, $args, $url ){
	// filter...

	return $transports;
Array of HTTP transports to check.
Default: array contains 'curl' and 'streams', in that order
HTTP request arguments.
The URL to request.

Список изменений

С версии 3.7.0 Введена.

Где вызывается хук

wp-includes/class-http.php 530
$request_order = apply_filters( 'http_api_transports', $transports, $args, $url );

Где используется хук в ядре WordPress

Использование не найдено.