Filter the batch size when cleaning the queue.
$this->batch_size
Sortie :
@param int $batch_size The number of actions to clean in one batch.
// Modifier la valeur avec le filtre 'action_scheduler_cleanup_batch_size'
add_filter('action_scheduler_cleanup_batch_size', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre($this->batch_size) {
// Modifier la valeur
return $this->batch_size;
}
Chargement des actualités...