WordPress at a glance
function is not described

ActionScheduler_WPCLI_QueueRunner::setup_progress_bar() protected WC 1.0

Set up the WP CLI progress bar.

{} It's a method of the class: ActionScheduler_WPCLI_QueueRunner{}

No Hooks.

Return

Null. Nothing.

Usage

// protected - for code of main (parent) or child class
$result = $this->setup_progress_bar();

Code of ActionScheduler_WPCLI_QueueRunner::setup_progress_bar() WC 5.0.0

<?php
protected function setup_progress_bar() {
	$count              = count( $this->actions );
	$this->progress_bar = new ProgressBar(
		/* translators: %d: amount of actions */
		sprintf( _n( 'Running %d action', 'Running %d actions', $count, 'woocommerce' ), number_format_i18n( $count ) ),
		$count
	);
}