wp_cache_close() – Closes the cache.

You appear to be a bot. Output may be restricted

Description

Closes the cache.

This function has ceased to do anything since WordPress 2.5. The functionality was removed along with the rest of the persistent cache. This does not mean that plugins can't implement this function when they need to make sure that the cache is cleaned up after WordPress no longer needs it.

Usage

$true = wp_cache_close();

Parameters

Returns

true Always returns true.

Source

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

1 to 3 of 3
function wp_cache_close() {
  return true;
}
 

 View on GitHub View on Trac