-
Notifications
You must be signed in to change notification settings - Fork 83
activitypub_handled_inbox
github-actions[bot] edited this page Aug 7, 2025
·
12 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$dataThe data array. -
int$user_idThe ID of the local blog user. -
WP_Error|int$idThe ID of the inbox item. -
Activitypub\Activity|\WP_Error$activityThe Activity object.
\do_action( 'activitypub_handled_inbox', $data, $user_id, $id, $activity )Follow @[email protected] for updates and news.