SimplePie_Sanitize::pass_cache_data

Advertisement

Syntax Syntax

SimplePie_Sanitize::pass_cache_data( $enable_cache = true,  $cache_location = './cache',  $cache_name_function = 'md5',  $cache_class = 'SimplePie_Cache' )

Source Source

File: wp-includes/SimplePie/Sanitize.php

	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;
		}
	}

Advertisement

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.