WordPress at Your Fingertips
function is not described

SimplePie_Sanitize::pass_cache_data() public WP 1.0

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

No Hooks.

Return

null. Nothing.

Usage

$SimplePie_Sanitize = new SimplePie_Sanitize();
$SimplePie_Sanitize->pass_cache_data( $enable_cache, $cache_location, $cache_name_, $cache_class );
$enable_cache **
-
Default: true
$cache_location **
-
Default: './cache'
$cache_name_ **
-
Default: 'md5'
$cache_class **
-
Default: 'SimplePie_Cache'

Code of SimplePie_Sanitize::pass_cache_data() WP 5.8.2

public function pass_cache_data($enable_cache = true, $cache_location = './cache', $cache_name_function = 'md5', $cache_class = 'SimplePie_Cache')
{
	if (isset($enable_cache))
	{
		$this->enable_cache = (bool) $enable_cache;
	}

	if ($cache_location)
	{
		$this->cache_location = (string) $cache_location;
	}

	if ($cache_name_function)
	{
		$this->cache_name_function = (string) $cache_name_function;
	}
}