-
Notifications
You must be signed in to change notification settings - Fork 83
activitypub_handled_like
github-actions[bot] edited this page Jul 23, 2025
·
11 revisions
Fires after a Like has been handled.
add_action(
'activitypub_handled_like',
function (
array $like,
int $user_id,
Activitypub\mixed $state,
Activitypub\mixed $reaction
) {
// Your code here
},
10,
4
);-
array$likeThe Activity array. -
int$user_idThe ID of the local blog user. -
Activitypub\mixed$stateThe state of the reaction. -
Activitypub\mixed$reactionThe reaction object.
do_action( 'activitypub_handled_like', $like, $user_id, $state, $reaction )Follow @[email protected] for updates and news.