Automattic\WooCommerce\Internal\BatchProcessing

BatchProcessingController::is_enqueued()publicWC 1.0

Check if a particular processor is enqueued.

{} It's a 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.

Code of BatchProcessingController::is_enqueued() WC 7.1.0

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