apply_filters( 'use_streams_transport', bool $use_class, array $args )

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


Parameters

$use_class

Whether the class can be used. Default true.

$args

Request arguments.


Source

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

View on GitHub



Changelog

Changelog
Version Description
WP-2.7.0 Introduced.