Action_Scheduler\WP_CLI
ProgressBar::setup_progress_bar
Set up the progress bar.
Метод класса: ProgressBar{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->setup_progress_bar();
Код ProgressBar::setup_progress_bar() ProgressBar::setup progress bar WC 10.9.4
protected function setup_progress_bar() {
$this->progress_bar = \WP_CLI\Utils\make_progress_bar(
$this->message,
$this->count,
$this->interval
);
}