-
Notifications
You must be signed in to change notification settings - Fork 82
activitypub_rest_inbox_array
github-actions[bot] edited this page Aug 1, 2025
·
9 revisions
Filters the ActivityPub inbox data before it is sent to the client.
/**
* Filters the ActivityPub inbox data before it is sent to the client.
*
* @param array $response
* @return array The filtered value.
*/
function my_activitypub_rest_inbox_array_callback( array $response ) {
// Your code here.
return $response;
}
add_filter( 'activitypub_rest_inbox_array', 'my_activitypub_rest_inbox_array_callback' );
-
array
$response
The ActivityPub inbox array.
\apply_filters( 'activitypub_rest_inbox_array', $response )
Follow @[email protected] for updates and news.