-
Notifications
You must be signed in to change notification settings - Fork 82
activitypub_sent_to_inbox
github-actions[bot] edited this page Jul 23, 2025
·
8 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
$result
The result of the remote post request. -
string
$inbox
The inbox URL. -
string
$json
The ActivityPub Activity JSON. -
int
$actor_id
The actor ID. -
int
$outbox_item_id
The Outbox item ID.
\do_action( 'activitypub_sent_to_inbox', $result, $inbox, $json, $actor->get__id(), $outbox_item_id )
Follow @[email protected] for updates and news.