Automattic\WooCommerce\Caching
ObjectCache::get_default_expiration_value()
Get the default expiration time for cached objects, in seconds.
Method of the class: ObjectCache{}
No Hooks.
Return
Int
.
Usage
$ObjectCache = new ObjectCache(); $ObjectCache->get_default_expiration_value(): int;
ObjectCache::get_default_expiration_value() ObjectCache::get default expiration value code WC 9.4.2
public function get_default_expiration_value(): int { return $this->default_expiration; }