use_streams_transport WordPress Filter Hook

This hook is used to transport data using streams. Streams are a powerful abstraction for working with data as it flows from one place to another. They can be used to easily read and write data to and from files, databases, and other data sources.

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

(bool)Whether the class can be used. Default true.

$args

(array)Request arguments.


Top ↑

Source

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

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
2.7.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.