SimplePie::set_cache_duration

Advertisement

Summery Summery

Set the length of time (in seconds) that the contents of a feed will be cached

Syntax Syntax

SimplePie::set_cache_duration( int $seconds = 3600 )

Parameters Parameters

$seconds

(Optional) The feed content cache duration

Default value: 3600

Source Source

File: wp-includes/class-simplepie.php

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

Advertisement

Advertisement

Leave a Reply