Automattic\WooCommerce\Internal\BatchProcessing

BatchProcessingController::force_clear_all_processes()publicWC 1.0

Dequeues and de-schedules all the processors.

{} Это метод класса: BatchProcessingController{}

Хуков нет.

Возвращает

null. Ничего.

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

$BatchProcessingController = new BatchProcessingController();
$BatchProcessingController->force_clear_all_processes(): void;

Код BatchProcessingController::force_clear_all_processes() WC 6.9.4

public function force_clear_all_processes(): void {
	as_unschedule_all_actions( self::PROCESS_SINGLE_BATCH_ACTION_NAME );
	as_unschedule_all_actions( self::WATCHDOG_ACTION_NAME );
	update_option( self::ENQUEUED_PROCESSORS_OPTION_NAME, array(), false );
}