WordPress at Your Fingertips
function is not described

Action_Scheduler\WP_CLI

ProgressBar::set_count() public WC 1.0

Set the count for a new progress bar.

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

No Hooks.

Return

null. Nothing.

Usage

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

Code of ProgressBar::set_count() WC 6.1.1

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