Skip to content

activitypub_dispatcher_batch_size

github-actions[bot] edited this page Oct 23, 2025 · 1 revision

Filters the batch size for processing outbox items.

Auto-generated Example

/**
 * 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' );

Parameters

  • int $batch_size The batch size. Default ACTIVITYPUB_OUTBOX_PROCESSING_BATCH_SIZE.

Files

apply_filters( 'activitypub_dispatcher_batch_size', ACTIVITYPUB_OUTBOX_PROCESSING_BATCH_SIZE )

← All Hooks

Users

Developers

Clone this wiki locally