- 
                Notifications
    You must be signed in to change notification settings 
- Fork 84
activitypub_dispatcher_batch_size
        github-actions[bot] edited this page Oct 28, 2025 
        ·
        2 revisions
      
    Filters the batch size for processing outbox items.
/**
 * Filters the batch size for processing outbox items.
 *
 * @param int $batch_size 
 * @return int The filtered value.
 */
function my_activitypub_dispatcher_batch_size_callback( int $batch_size ) {
    // Your code here.
    return $batch_size;
}
add_filter( 'activitypub_dispatcher_batch_size', 'my_activitypub_dispatcher_batch_size_callback' );- 
int$batch_sizeThe batch size. Default ACTIVITYPUB_OUTBOX_PROCESSING_BATCH_SIZE.
apply_filters( 'activitypub_dispatcher_batch_size', ACTIVITYPUB_OUTBOX_PROCESSING_BATCH_SIZE )Follow @[email protected] for updates and news.