Skip to content

activitypub_scheduler_async_batch_pause

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

Filters the pause between async batches (in seconds).

Auto-generated Example

/**
 * Filters the pause between async batches (in seconds).
 *
 * @param int $async_batch_pause 
 * @return int The filtered value.
 */
function my_activitypub_scheduler_async_batch_pause_callback( int $async_batch_pause ) {
    // Your code here.
    return $async_batch_pause;
}
add_filter( 'activitypub_scheduler_async_batch_pause', 'my_activitypub_scheduler_async_batch_pause_callback' );

Parameters

  • int $async_batch_pause The pause in seconds. Default 30.

Files

apply_filters( 'activitypub_scheduler_async_batch_pause', 30 )

← All Hooks

Users

Developers

Clone this wiki locally