wp_cache_close

函数


wp_cache_close ( No parameters )
返回值
  • (true) Always returns true.
定义位置
  • wp-includes/cache.php
    , line 342
引入
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.

function wp_cache_close() {
	return true;
}