WordPress at Your Fingertips
function is not described

SimplePie_Cache_Memcache::save() public WP 1.0

Save data to the cache

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

No Hooks.


true|false. Successfulness


$SimplePie_Cache_Memcache = new SimplePie_Cache_Memcache();
$SimplePie_Cache_Memcache->save( $data );
$data(array|SimplePie) (required)
Data to store in the cache. If passed a SimplePie object, only cache the $data property

Code of SimplePie_Cache_Memcache::save() WP 5.8.3

public function save($data)
	if ($data instanceof SimplePie)
		$data = $data->data;
	return $this->cache->set($this->name, serialize($data), MEMCACHE_COMPRESSED, (int) $this->options['extras']['timeout']);