Automattic\WooCommerce\Caching

ObjectCache::get_object_type()publicWC 1.0

Gets an identifier for the types of objects cached by this class. This identifier will be used to compose the keys passed to the cache engine, to the name of the option that stores the cache prefix, and the names of the hooks used. It must be unique for each class inheriting from ObjectCache.

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

Хуков нет.

Возвращает

Строку.

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

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

Код ObjectCache::get_object_type() WC 8.7.0

abstract public function get_object_type(): string;