WordPress at a glance
function is not described

SimplePie::enable_cache() public WP 1.0

Enable/disable caching in SimplePie.

This option allows you to disable caching all-together in SimplePie. However, disabling the cache can lead to longer load times.

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

No Hooks.


null. Nothing.


$SimplePie = new SimplePie();
$SimplePie->enable_cache( $enable );
Enable caching


Since 1.0 Introduced.
Since 1.0 Preview Release

Code of SimplePie::enable_cache() WP 5.7.2

public function enable_cache($enable = true)
	$this->cache = (bool) $enable;