Automattic\WooCommerce\Caching
CacheException::get_cached_id
Gets the id of the cached object as passed to the exception constructor.
Method of the class: CacheException{}
No Hooks.
Returns
Int|String|null. The id of the cached object.
Usage
$CacheException = new CacheException(); $CacheException->get_cached_id();
CacheException::get_cached_id() CacheException::get cached id code WC 10.8.1
public function get_cached_id() {
return $this->cached_id;
}