WordPress at Your Fingertips
function is not described

ActionScheduler_QueueCleaner::get_batch_size() protected WC 1.0

Get the batch size for cleaning the queue.

{} It's a method of the class: ActionScheduler_QueueCleaner{}

Hooks from the method




// protected - for code of main (parent) or child class
$result = $this->get_batch_size();

Code of ActionScheduler_QueueCleaner::get_batch_size() WC 6.1.1

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 ) );