Removes all cache items.
Description
See also
Source
function wp_cache_flush() {
global $wp_object_cache;
return $wp_object_cache->flush();
}
Changelog
Version | Description |
---|---|
2.0.0 | Introduced. |
CARVIEW |
Removes all cache items.
function wp_cache_flush() {
global $wp_object_cache;
return $wp_object_cache->flush();
}
Uses | Description |
---|---|
WP_Object_Cache::flush()wp-includes/class-wp-object-cache.php | Clears the object cache of all data. |
Used by | Description |
---|---|
wp_cache_flush_runtime()wp-includes/cache.php | Removes all cache items from the in-memory runtime cache. |
wp_upgrade()wp-admin/includes/upgrade.php | Runs WordPress Upgrade functions. |
wp_install()wp-admin/includes/upgrade.php | Installs the site. |
update_core()wp-admin/includes/update-core.php | Upgrades the core of WordPress. |
Version | Description |
---|---|
2.0.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.