Outil de recherche WordPress pour les développeurs et auteurs de thèmes



wp_cache_close ›

Depuis2.0.0
Dépréciéen/a
wp_cache_close ( Pas de paramètres )
Retourne:
  • (true) Always returns true.
Défini(e) dans:
Codex:

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.



Source

function wp_cache_close() {
	return true;
}