WordPress at Your Fingertips
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.


null. Nothing.


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

Code of ActionScheduler_WPCLI_QueueRunner::setup_progress_bar() WC 6.1.1

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 ) ),