Action_Scheduler\WP_CLI

ProgressBar::setup_progress_bar()protectedWC 1.0

Set up the progress bar.

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

Хуков нет.

Возвращает

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

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

// protected - в коде основоного (родительского) или дочернего класса
$result = $this->setup_progress_bar();

Код ProgressBar::setup_progress_bar() WC 8.7.0

protected function setup_progress_bar() {
	$this->progress_bar = \WP_CLI\Utils\make_progress_bar(
		$this->message,
		$this->count,
		$this->interval
	);
}