-
Notifications
You must be signed in to change notification settings - Fork 82
activitypub_rest_inbox_disallowed
github-actions[bot] edited this page Jul 23, 2025
·
10 revisions
ActivityPub inbox disallowed activity.
add_action(
'activitypub_rest_inbox_disallowed',
function (
array $data,
Activitypub\null $user_id,
string $type,
Activitypub\Activity|\WP_Error $activity
) {
// Your code here
},
10,
4
);
-
array
$data
The data array. -
Activitypub\null
$user_id
The user ID. -
string
$type
The type of the activity. -
Activitypub\Activity|\WP_Error
$activity
The Activity object.
do_action( 'activitypub_rest_inbox_disallowed', $data, null, $type, $activity )
do_action( 'activitypub_rest_inbox_disallowed', $data, $user->get__id(), $type, $activity )
Follow @[email protected] for updates and news.