Automattic\WooCommerce\Caches

OrderCache::get_object_type()publicWC 1.0

Get the identifier for the type of the cached objects.

Метод класса: OrderCache{}

Хуков нет.

Возвращает

Строку.

Использование

$OrderCache = new OrderCache();
$OrderCache->get_object_type(): string;

Код OrderCache::get_object_type() WC 8.7.0

public function get_object_type(): string {
	return 'orders';
}