Automattic\WooCommerce\Caches

OrderCacheController::maybe_restore_orders_cache_usage()publicWC 1.0

Restore the order cache usage that had been temporarily disabled.

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

Хуков нет.

Возвращает

null. Ничего (null).

Использование

$OrderCacheController = new OrderCacheController();
$OrderCacheController->maybe_restore_orders_cache_usage(): void;

Код OrderCacheController::maybe_restore_orders_cache_usage() WC 9.0.2

public function maybe_restore_orders_cache_usage(): void {
	$this->orders_cache_usage_backup = null;
}