wp_cache_flush() – Removes all cache items.

You appear to be a bot. Output may be restricted

Description

Removes all cache items.

Usage

$bool = wp_cache_flush();

Parameters

Returns

bool True on success, false on failure.

Source

File name: wordpress/wp-includes/cache.php
Lines:

1 to 5 of 5
function wp_cache_flush() {
  global $wp_object_cache;

  return $wp_object_cache->flush();
}
 

 View on GitHub View on Trac