http_request_timeout

Advertisement

Summery Summery

Filters the timeout value for an HTTP request.

Syntax Syntax

apply_filters( 'http_request_timeout', float $timeout_value, string $url )

Parameters Parameters

$timeout_value

Time in seconds until a request times out. Default 5.

$url

The request URL.

Source Source

File: wp-includes/class-http.php

Advertisement

Changelog Changelog

Changelog
Version Description
5.1.0 The $url parameter was added.
2.7.0 Introduced.

Advertisement

Leave a Reply