WordPress at Your Fingertips
function is not described

SimplePie_Cache_Memcache::touch() public WP 1.0

Set the last modified time to the current time

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

No Hooks.


true|false. Success status


$SimplePie_Cache_Memcache = new SimplePie_Cache_Memcache();

Code of SimplePie_Cache_Memcache::touch() WP 5.8.3

public function touch()
	$data = $this->cache->get($this->name);

	if ($data !== false)
		return $this->cache->set($this->name, $data, MEMCACHE_COMPRESSED, (int) $this->options['extras']['timeout']);

	return false;