Action_Scheduler\WP_CLI

ProgressBar::set_countpublicWC 1.0

Set the count for a new progress bar.

Method of the class: ProgressBar{}

No Hooks.

Returns

null. Nothing (null).

Usage

$ProgressBar = new ProgressBar();
$ProgressBar->set_count( $count );
$count(int) (required)
The total number of ticks expected to complete.

ProgressBar::set_count() code WC 9.9.5

public function set_count( $count ) {
	$this->count = $count;
	$this->finish();
}