WP_Object_Cache::flush() – Method | Developer.WordPress.org

Clears the object cache of all data.

Return

true Always returns true.

Source

public function flush() {
	$this->cache = array();

	return true;
}

View all references View on Trac View on GitHub

Used byDescription
wp_cache_flush()wp-includes/cache.php

Removes all cache items.

Changelog

VersionDescription
2.0.0Introduced.