-
Notifications
You must be signed in to change notification settings - Fork 83
activitypub_handled_update
github-actions[bot] edited this page Jul 23, 2025
·
13 revisions
Fires after an Update activity has been handled.
add_filter(
'activitypub_handled_update',
function (
array $activity,
Activitypub\null $user,
int|array $state,
WP_Comment $reaction = null
) {
// Your code here
return $activity;
},
10,
4
);-
array$activityThe complete Update activity data. -
Activitypub\null$userAlways null for Update activities. -
int|array$state1 if comment was updated successfully, error data otherwise. -
WP_Comment|null$reactionThe updated comment object if successful, null otherwise.
\do_action( 'activitypub_handled_update', $activity, null, $state, $reaction )Follow @[email protected] for updates and news.