wp_cache_close()
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.
No Hooks.
Return
true
. Always returns true.
Usage
wp_cache_close();
Changelog
Since 2.0.0 | Introduced. |
wp_cache_close() wp cache close code WP 6.7.2
function wp_cache_close() { return true; }