Action_Scheduler\WP_CLI

ProgressBar::current()publicWC 1.0

Get the progress bar tick count.

Method of the class: ProgressBar{}

No Hooks.

Return

Int.

Usage

$ProgressBar = new ProgressBar();
$ProgressBar->current();

ProgressBar::current() code WC 8.7.0

public function current() {
	return $this->progress_bar ? $this->progress_bar->current() : 0;
}