Used By
Used By | Description |
---|---|
wp-includes/load.php: shutdown_action_hook() | Runs just before PHP shuts down execution. |
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.
(true) Always returns true.
File: wp-includes/cache.php
function wp_cache_close() { return true; }
Version | Description |
---|---|
2.0.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/wp_cache_close