WordPress at a glance
function is not described

Action_Scheduler\WP_CLI

ProgressBar::setup_progress_bar() protected WC 1.0

Set up the progress bar.

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

No Hooks.

Return

Null. Nothing.

Usage

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

Code of ProgressBar::setup_progress_bar() WC 5.0.0

<?php
protected function setup_progress_bar() {
	$this->progress_bar = \WP_CLI\Utils\make_progress_bar(
		$this->message,
		$this->count,
		$this->interval
	);
}