ActionScheduler_QueueCleaner::get_batch_size
Get the batch size for cleaning the queue.
Method of the class: ActionScheduler_QueueCleaner{}
Hooks from the method
Returns
Int.
Usage
// protected - for code of main (parent) or child class $result = $this->get_batch_size();
ActionScheduler_QueueCleaner::get_batch_size() ActionScheduler QueueCleaner::get batch size code WC 10.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 ) );
}