Automattic\WooCommerce\Caches

ProductCountCacheService::unschedule_background_actions │ public │ WC 1.0

Unschedules background actions.

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

Хуков нет.

Возвращает

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

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

$ProductCountCacheService = new ProductCountCacheService();
$ProductCountCacheService->unschedule_background_actions(): void;

Код ProductCountCacheService::unschedule_background_actions() WC 11.2.2

public function unschedule_background_actions(): void {
	WC()->queue()->cancel_all( self::BACKGROUND_EVENT_HOOK );
}