Automattic\WooCommerce\Internal\Caches

ProductCache::get_object_typepublicWC 10.5.0

Get the cache key and prefix to use for Products.

Method of the class: ProductCache{}

No Hooks.

Returns

String.

Usage

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

Changelog

Since 10.5.0 Introduced.

ProductCache::get_object_type() code WC 10.8.1

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