Action_Scheduler\WP_CLI

ProgressBar::setup_progress_bar()protectedWC 1.0

Set up the progress bar.

Method of the class: ProgressBar{}

No Hooks.

Return

null. Nothing (null).

Usage

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

ProgressBar::setup_progress_bar() code WC 9.3.3

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