Automattic\WooCommerce\Caching
ObjectCache::get_default_expiration_value
Get the default expiration time for cached objects, in seconds.
Метод класса: ObjectCache{}
Хуков нет.
Возвращает
int.
Использование
$ObjectCache = new ObjectCache(); $ObjectCache->get_default_expiration_value(): int;
Код ObjectCache::get_default_expiration_value() ObjectCache::get default expiration value WC 10.8.1
public function get_default_expiration_value(): int {
return $this->default_expiration;
}