wp_cache_flush

函数


wp_cache_flush ( No parameters )
返回值
  • (bool) True on success, false on failure.
相关
  • WP_Object_Cache::flush()
定义位置
  • wp-includes/cache.php
    , line 265
引入
2.0.0
弃用

Removes all cache items.

function wp_cache_flush() {
	global $wp_object_cache;

	return $wp_object_cache->flush();
}