ActionScheduler_WPCLI_Scheduler_command::print_total_batches()
Print WP CLI message about how many batches of actions were processed.
Метод класса: ActionScheduler_WPCLI_Scheduler_command{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->print_total_batches( $batches_completed );
- $batches_completed(int) (обязательный)
- -
Код ActionScheduler_WPCLI_Scheduler_command::print_total_batches() ActionScheduler WPCLI Scheduler command::print total batches WC 8.7.0
protected function print_total_batches( $batches_completed ) { WP_CLI::log( sprintf( /* translators: %d refers to the total number of batches executed */ _n( '%d batch executed.', '%d batches executed.', $batches_completed, 'woocommerce' ), $batches_completed ) ); }