Skip to content

activitypub_outbox_processing_complete

github-actions[bot] edited this page Aug 18, 2025 · 8 revisions

Fires when the followers are complete.

Auto-generated Example

/**
 * Fires when the followers are complete.
 *
 * @param array  $inboxes 
 * @param string $json 
 * @param int    $actor_id 
 * @param int    $outbox_item_id 
 * @param int    $batch_size 
 * @param int    $offset 
 * @return array The filtered value.
 */
function my_activitypub_outbox_processing_complete_callback( array $inboxes, string $json, int $actor_id, int $outbox_item_id, int $batch_size, int $offset ) {
    // Your code here.
    return $inboxes;
}
add_filter( 'activitypub_outbox_processing_complete', 'my_activitypub_outbox_processing_complete_callback', 10, 6 );

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_complete', $inboxes, $json, $outbox_item->post_author, $outbox_item_id, $batch_size, $offset )

← All Hooks

Users

Developers

Clone this wiki locally