ActionScheduler_QueueCleaner::get_batch_size() – Get the batch size for cleaning the queue.

You appear to be a bot. Output may be restricted

Description

Get the batch size for cleaning the queue.

Usage

$int = ActionScheduler_QueueCleaner::get_batch_size();

Parameters

Returns

int

Source

File name: woocommerce/packages/action-scheduler/classes/ActionScheduler_QueueCleaner.php
Lines:

1 to 8 of 8
  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 ) );
  }
 

 View on GitHub View on Trac