Automattic\WooCommerce\Internal\Caches
CouponCodeLookupInvalidator::get_cache_group
Get the object cache group the lookup entries are stored in.
Метод класса: CouponCodeLookupInvalidator{}
Хуков нет.
Возвращает
string. The cache group.
Использование
$CouponCodeLookupInvalidator = new CouponCodeLookupInvalidator(); $CouponCodeLookupInvalidator->get_cache_group(): string;
Список изменений
| С версии 11.2.0 | Введена. |
Код CouponCodeLookupInvalidator::get_cache_group() CouponCodeLookupInvalidator::get cache group WC 11.3.0
public function get_cache_group(): string {
return self::CACHE_GROUP;
}