Automattic\WooCommerce\Internal\BatchProcessing

BatchProcessingController::is_enqueued()publicWC 1.0

Check if a particular processor is enqueued.

Method of the class: BatchProcessingController{}

No Hooks.

Return

true|false. True if the processor is enqueued.

Usage

$BatchProcessingController = new BatchProcessingController();
$BatchProcessingController->is_enqueued( $processor_class_name ) : bool;
$processor_class_name(string) (required)
Fully qualified class name of the processor.

BatchProcessingController::is_enqueued() code WC 8.7.0

public function is_enqueued( string $processor_class_name ) : bool {
	return in_array( $processor_class_name, $this->get_enqueued_processors(), true );
}