A WordPress-centric search engine for devs and theme authors



wp_cache_flush ›

Since2.0.0
Deprecatedn/a
wp_cache_flush ( No parameters )
See:
  • WP_Object_Cache::flush()
Returns:
  • (bool) True on success, false on failure.
Defined at:
Codex:

Removes all cache items.



Source

function wp_cache_flush() {
	global $wp_object_cache;

	return $wp_object_cache->flush();
}