Automattic\WooCommerce\Caching

ObjectCache::get_default_expiration_value()publicWC 1.0

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() code WC 9.4.2

public function get_default_expiration_value(): int {
	return $this->default_expiration;
}