Automattic\WooCommerce\Internal\Caches
CouponCodeLookupInvalidator::get_cache_group
Get the object cache group the lookup entries are stored in.
Method of the class: CouponCodeLookupInvalidator{}
No Hooks.
Returns
string. The cache group.
Usage
$CouponCodeLookupInvalidator = new CouponCodeLookupInvalidator(); $CouponCodeLookupInvalidator->get_cache_group(): string;
Changelog
| Since 11.2.0 | Introduced. |
CouponCodeLookupInvalidator::get_cache_group() CouponCodeLookupInvalidator::get cache group code WC 11.3.0
public function get_cache_group(): string {
return self::CACHE_GROUP;
}