-
Notifications
You must be signed in to change notification settings - Fork 84
activitypub_sent_to_inbox
github-actions[bot] edited this page Aug 7, 2025
·
12 revisions
Fires after an Activity has been sent to an inbox.
add_filter(
'activitypub_sent_to_inbox',
function(
array $result,
string $inbox,
string $json,
int $actor_id,
int $outbox_item_id
) {
// Your code here.
return $result;
},
10,
5
);-
array$resultThe result of the remote post request. -
string$inboxThe inbox URL. -
string$jsonThe ActivityPub Activity JSON. -
int$actor_idThe actor ID. -
int$outbox_item_idThe Outbox item ID.
\do_action( 'activitypub_sent_to_inbox', $result, $inbox, $json, $outbox_item->post_author, $outbox_item_id )Follow @[email protected] for updates and news.