W3cubDocs

/WordPress

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;
	}

Changelog

Version Description
2.8.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_feed_cache_transient/unlink