-
Notifications
You must be signed in to change notification settings - Fork 81
activitypub_inbox
github-actions[bot] edited this page Aug 7, 2025
·
5 revisions
ActivityPub inbox action.
add_filter(
'activitypub_inbox',
function(
array $data,
int $user_id = null,
string $type,
Activitypub\Activity|\WP_Error $activity
) {
// Your code here.
return $data;
},
10,
4
);
-
array
$data
The data array. -
int|null
$user_id
The user ID. -
string
$type
The type of the activity. -
Activitypub\Activity|\WP_Error
$activity
The Activity object.
\do_action( 'activitypub_inbox', $object, $user_id, $type, $activity )
\do_action( 'activitypub_inbox', $data, $user_id, $type, $activity )
\do_action( 'activitypub_inbox', $data, $user_id, $type, $activity )
Follow @[email protected] for updates and news.