WordPress开发者和主题制作者的搜索引擎



wp_cache_close ›

Since2.0.0
已弃用n/a
wp_cache_close ( 没有参数 )
返回:
  • (true) Always returns true.
定义在:
文档:

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;
}