apply_filters( ‘use_streams_transport’, bool $use_class, array $args )

In this article

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

Parameters

$use_classbool
Whether the class can be used. Default true.
$argsarray
Request arguments.

Source

return apply_filters( 'use_streams_transport', true, $args );

Changelog

VersionDescription
2.7.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.