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.

Return

null. Nothing.

Usage

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

Changelog

Since 1.0 Introduced.
Since 1.0 Preview Release

Code of SimplePie::enable_cache() WP 5.7.2

<?php
public function enable_cache($enable = true)
{
	$this->cache = (bool) $enable;
}