Automattic\WooCommerce\Internal\Caches

ProductCache::get_object_type │ public │ WC 10.5.0

Get the cache key and prefix to use for Products.

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

Хуков нет.

Возвращает

string.

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

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

Список изменений

С версии 10.5.0 Введена.

Код ProductCache::get_object_type() WC 11.2.2

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