Automattic\WooCommerce\Caching
CacheException::get_cached_id
Gets the id of the cached object as passed to the exception constructor.
Метод класса: CacheException{}
Хуков нет.
Возвращает
int|string|null. The id of the cached object.
Использование
$CacheException = new CacheException(); $CacheException->get_cached_id();
Код CacheException::get_cached_id() CacheException::get cached id WC 11.3.0
public function get_cached_id() {
return $this->cached_id;
}