SimplePie::set_cache_location()
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() SimplePie::set cache location code WP 6.5.2
public function set_cache_location($location = './cache') { $this->cache_location = (string) $location; }