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.
Return
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 9.4.2
public function get_cached_id() { return $this->cached_id; }