-
Notifications
You must be signed in to change notification settings - Fork 81
activitypub_inbox_update
github-actions[bot] edited this page Jul 30, 2025
·
3 revisions
Fires when a Create activity is received for an existing comment.
function my_activitypub_inbox_update_callback( array $activity, int $user_id, Activitypub\Activity\Activity $activity_object ) {
// Your code here.
return $activity;
}
add_filter( 'activitypub_inbox_update', 'my_activitypub_inbox_update_callback', 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.