Action_Scheduler\WP_CLI

ProgressBar::finish()publicWC 1.0

Finish the current progress bar.

Method of the class: ProgressBar{}

No Hooks.

Return

null. Nothing (null).

Usage

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

ProgressBar::finish() code WC 9.3.3

public function finish() {
	if ( null !== $this->progress_bar ) {
		$this->progress_bar->finish();
	}

	$this->progress_bar = null;
}