-
Notifications
You must be signed in to change notification settings - Fork 81
activitypub_handled_inbox
github-actions[bot] edited this page Aug 7, 2025
·
2 revisions
Fires after an inbox item has been handled.
add_filter(
'activitypub_handled_inbox',
function(
array $data,
int $user_id,
WP_Error|int $id,
Activitypub\Activity|\WP_Error $activity
) {
// Your code here.
return $data;
},
10,
4
);
-
array
$data
The data array. -
int
$user_id
The ID of the local blog user. -
WP_Error|int
$id
The ID of the inbox item. -
Activitypub\Activity|\WP_Error
$activity
The Activity object.
\do_action( 'activitypub_handled_inbox', $data, $user_id, $id, $activity )
Follow @[email protected] for updates and news.