wp_cache_close()WP 2.0.0

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.

Использование

wp_cache_close();

Список изменений

С версии 2.0.0 Введена.

Код wp_cache_close() WP 6.5.2

function wp_cache_close() {
	return true;
}