WP_Object_Cache::flush()
Clears the object cache of all data.
Return
(true) Always returns true.
Source
File: wp-includes/class-wp-object-cache.php
public function flush() {
$this->cache = array();
return true;
}
Changelog
Version | Description |
---|---|
2.0.0 | Introduced. |