Used By
| Used By | Description |
|---|---|
| wp-includes/cache.php: wp_cache_flush() | Removes all cache items. |
Clears the object cache of all data.
(true) Always returns true.
File: wp-includes/class-wp-object-cache.php
public function flush() {
$this->cache = array();
return true;
} | Version | Description |
|---|---|
| 2.0.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_object_cache/flush