SimplePie::set_timeout

Advertisement

Summery Summery

Set the the default timeout for fetching remote feeds

Syntax Syntax

SimplePie::set_timeout( int $timeout = 10 )

Description Description

This allows you to change the maximum time the feed’s server to respond and send the feed back.

Parameters Parameters

$timeout

(Optional) The maximum number of seconds to spend waiting to retrieve a feed.

Default value: 10

Source Source

File: wp-includes/class-simplepie.php

	 *
	 * @param SimplePie_File &$file
	 * @return bool True on success, false on failure
	 */

Advertisement

Changelog Changelog

Changelog
Version Description
1.0 Introduced.

Advertisement

Leave a Reply