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.
Returns
Int.
Usage
$ObjectCache = new ObjectCache(); $ObjectCache->get_default_expiration_value(): int;
ObjectCache::get_default_expiration_value() ObjectCache::get default expiration value code WC 10.4.3
public function get_default_expiration_value(): int {
return $this->default_expiration;
}