-
Couldn't load subscription status.
- Fork 84
activitypub_rest_inbox_array
github-actions[bot] edited this page Jul 30, 2025
·
13 revisions
Filters the ActivityPub inbox data before it is sent to the client.
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.