WordPress at a glance
function is not described

SimplePie::set_cache_location() public WP 1.0

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

{} It's a method of the class: SimplePie{}

No Hooks.


null. Nothing.


$SimplePie = new SimplePie();
$SimplePie->set_cache_location( $location );
The file system location.

Code of SimplePie::set_cache_location() WP 5.7.2

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