-
Notifications
You must be signed in to change notification settings - Fork 85
activitypub_handled_announce
github-actions[bot] edited this page Jul 23, 2025
·
9 revisions
Fires after an Announce has been saved.
add_action(
'activitypub_handled_announce',
function (
array $activity,
int $user_id,
Activitypub\mixed $state,
Activitypub\mixed $reaction
) {
// Your code here
},
10,
4
);
-
array
$activity
The activity-object. -
int
$user_id
The id of the local blog-user. -
Activitypub\mixed
$state
The state of the reaction. -
Activitypub\mixed
$reaction
The reaction.
do_action( 'activitypub_handled_announce', $activity, $user_id, $state, $reaction )
Follow @[email protected] for updates and news.