Action_Scheduler\WP_CLI
ProgressBar::tick
Increment the progress bar ticks.
Method of the class: ProgressBar{}
Hooks from the method
Returns
null. Nothing (null).
Usage
$ProgressBar = new ProgressBar(); $ProgressBar->tick();
ProgressBar::tick() ProgressBar::tick code WC 10.8.1
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 ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
}