WP_Feed_Cache_Transient::unlink()publicWP 2.8.0

Deletes transients.

Method of the class: WP_Feed_Cache_Transient{}

No Hooks.

Return

true. Always true.

Usage

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

Changelog

Since 2.8.0 Introduced.

WP_Feed_Cache_Transient::unlink() code WP 6.1.1

public function unlink() {
	delete_transient( $this->name );
	delete_transient( $this->mod_name );
	return true;
}