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.

Return

null. Nothing.

Usage

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

Code of SimplePie::set_cache_location() WP 5.7.2

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