- 
                Notifications
    You must be signed in to change notification settings 
- Fork 83
activitypub_outbox_processing_complete
        github-actions[bot] edited this page Oct 8, 2025 
        ·
        11 revisions
      
    Fires when the followers are complete.
/**
 * 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 );- 
array$inboxesThe inboxes.
- 
string$jsonThe ActivityPub Activity JSON
- 
int$actor_idThe actor ID.
- 
int$outbox_item_idThe Outbox item ID.
- 
int$batch_sizeThe batch size.
- 
int$offsetThe offset.
\do_action( 'activitypub_outbox_processing_complete', $inboxes, $json, $outbox_item->post_author, $outbox_item_id, $batch_size, $offset )Follow @[email protected] for updates and news.