-
Couldn't load subscription status.
- Fork 84
activitypub_rest_inbox_array
github-actions[bot] edited this page Sep 9, 2025
·
12 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$responseThe ActivityPub inbox array.
\apply_filters( 'activitypub_rest_inbox_array', $response )Follow @[email protected] for updates and news.