ActionScheduler_QueueCleaner::get_batch_size()
Get the batch size for cleaning the queue.
Метод класса: ActionScheduler_QueueCleaner{}
Хуки из метода
Возвращает
int
.
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->get_batch_size();
Код ActionScheduler_QueueCleaner::get_batch_size() ActionScheduler QueueCleaner::get batch size WC 8.7.0
protected function get_batch_size() { /** * Filter the batch size when cleaning the queue. * * @param int $batch_size The number of actions to clean in one batch. */ return absint( apply_filters( 'action_scheduler_cleanup_batch_size', $this->batch_size ) ); }