Automattic\WooCommerce\Caching
ObjectCache::flush()
Remove all the objects from the cache.
Method of the class: ObjectCache{}
No Hooks.
Return
true|false
. True on success, false on error.
Usage
$ObjectCache = new ObjectCache(); $ObjectCache->flush(): bool;
ObjectCache::flush() ObjectCache::flush code WC 9.4.2
public function flush(): bool { return $this->get_cache_engine()->delete_cache_group( $this->get_object_type() ); }