SimplePie::set_cache_location()publicWP 1.0

Set the file system location where the cached files should be stored

Method of the class: SimplePie{}

No Hooks.

Return

null. Nothing (null).

Usage

$SimplePie = new SimplePie();
$SimplePie->set_cache_location( $location );
$location(string)
The file system location.
Default: './cache'

SimplePie::set_cache_location() code WP 6.5.4

public function set_cache_location($location = './cache')
{
	$this->cache_location = (string) $location;
}