WordPress at a glance
function is not described

SimplePie_Cache_MySQL::unlink() public WP 1.0

Remove the cache

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

No Hooks.

Return

true|false. Success status

Usage

$SimplePie_Cache_MySQL = new SimplePie_Cache_MySQL();
$SimplePie_Cache_MySQL->unlink();

Code of SimplePie_Cache_MySQL::unlink() WP 5.7.2

<?php
public function unlink()
{
	if ($this->mysql === null)
	{
		return false;
	}

	$query = $this->mysql->prepare('DELETE FROM `' . $this->options['extras']['prefix'] . 'cache_data` WHERE `id` = :id');
	$query->bindValue(':id', $this->id);
	$query2 = $this->mysql->prepare('DELETE FROM `' . $this->options['extras']['prefix'] . 'items` WHERE `feed_id` = :id');
	$query2->bindValue(':id', $this->id);

	return $query->execute() && $query2->execute();
}