wp_cache_close() WordPress Function
The wp_cache_close() function is used to close the cache. This function must be called after the cache has been started with wp_cache_open().
wp_cache_close() #
Closes the cache.
Description
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.
Return
(true) Always returns true.
Source
File: wp-includes/cache.php
function wp_cache_close() { return true; }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
2.0.0 | Introduced. |