Action_Scheduler\WP_CLI

ProgressBar::finishpublicWC 1.0

Finish the current progress bar.

Method of the class: ProgressBar{}

No Hooks.

Returns

null. Nothing (null).

Usage

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

ProgressBar::finish() code WC 9.9.5

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

	$this->progress_bar = null;
}