Skip to content

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.

Auto-generated Example

/**
 * 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' );

Parameters

  • array $response The ActivityPub inbox array.

Files

\apply_filters( 'activitypub_rest_inbox_array', $response )

← All Hooks

Users

Developers

Clone this wiki locally