Automattic\WooCommerce\Internal\OrderReviews

ItemEligibility::reset_cachepublic staticWC 10.8.0

Reset the per-request cache. Test helper.

Method of the class: ItemEligibility{}

No Hooks.

Returns

null. Nothing (null).

Usage

$result = ItemEligibility::reset_cache(): void;

Changelog

Since 10.8.0 Introduced.

ItemEligibility::reset_cache() code WC 10.9.1

public static function reset_cache(): void {
	self::$review_cache = array();
	self::$preloaded    = array();
}