Action_Scheduler\WP_CLI

ProgressBar::set_count()publicWC 1.0

Set the count for a new progress bar.

Метод класса: ProgressBar{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

$ProgressBar = new ProgressBar();
$ProgressBar->set_count( $count );
$count(int) (обязательный)
The total number of ticks expected to complete.

Код ProgressBar::set_count() WC 8.7.0

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