Action_Scheduler\WP_CLI
ProgressBar::set_count()
Set the count for a new progress bar.
Method of the class: ProgressBar{}
No Hooks.
Return
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() ProgressBar::set count code WC 8.6.1
public function set_count( $count ) { $this->count = $count; $this->finish(); }