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; }
Changelog
Version | Description |
---|---|
2.0.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/wp_cache_close