Automattic\WooCommerce\Internal\BatchProcessing

BatchProcessingController::set_enqueued_processors()privateWC 1.0

Helper method to set the enqueued processor class names.

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

No Hooks.

Return

null. Nothing.

Usage

// private - for code of main (parent) class only
$result = $this->set_enqueued_processors( $processors ): void;
$processors(array) (required)
List of full processor class names.

Code of BatchProcessingController::set_enqueued_processors() WC 7.1.0

private function set_enqueued_processors( array $processors ): void {
	update_option( self::ENQUEUED_PROCESSORS_OPTION_NAME, $processors, false );
}