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