WordPress at a glance
function is not described

SimplePie_Cache_File::save() public WP 1.0

Save data to the cache

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

No Hooks.

Return

true|false. Successfulness

Usage

$SimplePie_Cache_File = new SimplePie_Cache_File();
$SimplePie_Cache_File->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_File::save() WP 5.7.2

<?php
public function save($data)
{
	if (file_exists($this->name) && is_writable($this->name) || file_exists($this->location) && is_writable($this->location))
	{
		if ($data instanceof SimplePie)
		{
			$data = $data->data;
		}

		$data = serialize($data);
		return (bool) file_put_contents($this->name, $data);
	}
	return false;
}