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