WordPress at Your Fingertips
function is not described

Action_Scheduler\WP_CLI

ProgressBar::finish() public WC 1.0

Finish the current progress bar.

{} It's a method of the class: ProgressBar{}

No Hooks.

Return

null. Nothing.

Usage

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

Code of ProgressBar::finish() WC 6.1.0

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

	$this->progress_bar = null;
}