Automattic\WooCommerce\Caches
ProductCountCacheService::unschedule_background_actions
Unschedules background actions.
Метод класса: ProductCountCacheService{}
Хуков нет.
Возвращает
void. Ничего (null).
Использование
$ProductCountCacheService = new ProductCountCacheService(); $ProductCountCacheService->unschedule_background_actions(): void;
Код ProductCountCacheService::unschedule_background_actions() ProductCountCacheService::unschedule background actions WC 11.2.2
public function unschedule_background_actions(): void {
WC()->queue()->cancel_all( self::BACKGROUND_EVENT_HOOK );
}