Skip to content

activitypub_outbox_processing_batch_complete

github-actions[bot] edited this page Jul 29, 2025 · 8 revisions

Fires when the batch of followers is complete.

Auto-generated Example

add_filter(
   'activitypub_outbox_processing_batch_complete',
    'my_activitypub_outbox_processing_batch_complete_callback',
    10,
    6
);

function my_activitypub_outbox_processing_batch_complete_callback(
    array $inboxes,
    string $json,
    int $actor_id,
    int $outbox_item_id,
    int $batch_size,
    int $offset
) {
    // Your code here.
    return $inboxes;
}

Parameters

  • array $inboxes The inboxes.
  • string $json The ActivityPub Activity JSON
  • int $actor_id The actor ID.
  • int $outbox_item_id The Outbox item ID.
  • int $batch_size The batch size.
  • int $offset The offset.

Files

\do_action( 'activitypub_outbox_processing_batch_complete', $inboxes, $json, $actor->get__id(), $outbox_item_id, $batch_size, $offset )

← All Hooks

Users

Developers

Clone this wiki locally