-
Notifications
You must be signed in to change notification settings - Fork 85
activitypub_scheduler_async_batch_pause
github-actions[bot] edited this page Oct 23, 2025
·
1 revision
Filters the pause between async batches (in seconds).
/**
* 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' );-
int$async_batch_pauseThe pause in seconds. Default 30.
apply_filters( 'activitypub_scheduler_async_batch_pause', 30 )Follow @[email protected] for updates and news.