SimplePie_Cache_Memcache::save

Advertisement

Summery Summery

Save data to the cache

Syntax Syntax

SimplePie_Cache_Memcache::save( array|SimplePie $data )

Parameters Parameters

$data

(array|SimplePie) (Required) Data to store in the cache. If passed a SimplePie object, only cache the $data property

Return Return

(bool) Successfulness

Source Source

File: wp-includes/SimplePie/Cache/Memcache.php

		{
			$data = $data->data;
		}
		return $this->cache->set($this->name, serialize($data), MEMCACHE_COMPRESSED, (int) $this->options['extras']['timeout']);
	}

	/**
	 * Retrieve the data saved to the cache

Advertisement

Advertisement

Leave a Reply

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