WP_Feed_Cache_Transient::unlink() public WP 2.8.0
Deletes transients.
{} It's a 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. |
Code of WP_Feed_Cache_Transient::unlink() WP Feed Cache Transient::unlink WP 5.6
public function unlink() {
delete_transient( $this->name );
delete_transient( $this->mod_name );
return true;
}