Automattic\WooCommerce\Caching

ObjectCache::get_default_expiration_value()publicWC 1.0

Get the default expiration time for cached objects, in seconds.

Метод класса: ObjectCache{}

No Hooks.

Return

Int.

Usage

$ObjectCache = new ObjectCache();
$ObjectCache->get_default_expiration_value(): int;

Code of ObjectCache::get_default_expiration_value() WC 7.1.0

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