WP_Feed_Cache_Transient::unlink() WordPress Method
The unlink() method is used to unlink a transient from its cache. This is useful if you need to update the transient but do not want to overwrite the existing cache.
WP_Feed_Cache_Transient::unlink() #
Deletes transients.
Return
(true) Always true.
Source
File: wp-includes/class-wp-feed-cache-transient.php
public function unlink() { delete_transient( $this->name ); delete_transient( $this->mod_name ); return true; }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
2.8.0 | Introduced. |