ActionScheduler_QueueCleaner::get_batch_sizeprotectedWC 1.0

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