-
Notifications
You must be signed in to change notification settings - Fork 82
activitypub_inbox_update
github-actions[bot] edited this page Jul 23, 2025
·
8 revisions
Fires when a Create activity is received for an existing comment.
add_filter(
'activitypub_inbox_update',
function (
array $activity,
int $user_id,
Activitypub\Activity\Activity $activity_object
) {
// Your code here
return $activity;
},
10,
3
);
-
array
$activity
The activity-object. -
int
$user_id
The id of the local blog-user. -
Activitypub\Activity\Activity
$activity_object
The activity object.
\do_action( 'activitypub_inbox_update', $activity, $user_id, $activity_object )
Follow @[email protected] for updates and news.