-
Notifications
You must be signed in to change notification settings - Fork 80
activitypub_additional_inboxes
github-actions[bot] edited this page Aug 18, 2025
·
8 revisions
Filters the list of inboxes to send the Activity to.
/**
* Filters the list of inboxes to send the Activity to.
*
* @param array $inboxes
* @param int $actor_id
* @param Activitypub\Activity $activity
* @return array The filtered value.
*/
function my_activitypub_additional_inboxes_callback( array $inboxes, int $actor_id, Activitypub\Activity $activity ) {
// Your code here.
return $inboxes;
}
add_filter( 'activitypub_additional_inboxes', 'my_activitypub_additional_inboxes_callback', 10, 3 );
-
array
$inboxes
The list of inboxes to send to. -
int
$actor_id
The actor ID. -
Activitypub\Activity
$activity
The ActivityPub Activity.
apply_filters( 'activitypub_additional_inboxes', array(), $actor_id, $activity )
Follow @[email protected] for updates and news.