Action_Scheduler\WP_CLI

ProgressBar::tick()publicWC 1.0

Increment the progress bar ticks.

Method of the class: ProgressBar{}

Hooks from the method

Return

null. Nothing (null).

Usage

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

ProgressBar::tick() code WC 8.7.0

public function tick() {
	if ( null === $this->progress_bar ) {
		$this->setup_progress_bar();
	}

	$this->progress_bar->tick();
	$this->total_ticks++;

	do_action( 'action_scheduler/progress_tick', $this->total_ticks );
}