- 
                Notifications
    You must be signed in to change notification settings 
- Fork 84
activitypub_rest_inbox_array
        github-actions[bot] edited this page Oct 30, 2025 
        ·
        14 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.