Filter hook 'use_streams_transport'

in WP Core File wp-includes/class-wp-http-streams.php at line 519

Description

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

Occurrences

Filename Line Number
wp-includes/class-wp-http-streams.php 519

Parameters

Type Name Description
bool $use_class Whether the class can be used. Default true.
array $args Request arguments.

PHP Doc

/**
		 * Filters whether streams can be used as a transport for retrieving a URL.
		 *
		 * @since 2.7.0
		 *
		 * @param bool  $use_class Whether the class can be used. Default true.
		 * @param array $args      Request arguments.
		 */