Automattic\WooCommerce\Caches
OrderCache::get_object_type()
Get the identifier for the type of the cached objects.
Метод класса: OrderCache{}
Хуков нет.
Возвращает
Строку
.
Использование
$OrderCache = new OrderCache(); $OrderCache->get_object_type(): string;
Код OrderCache::get_object_type() OrderCache::get object type WC 7.7.2
public function get_object_type(): string { return 'orders'; }