Skip to content

activitypub_rest_outbox_pre

github-actions[bot] edited this page Aug 18, 2025 · 8 revisions

Action triggered prior to the ActivityPub profile being created and sent to the client.

Auto-generated Example

/**
 * Action triggered prior to the ActivityPub profile being created and sent to the client.
 *
 * @param WP_REST_Request $request 
 * @return WP_REST_Request The filtered value.
 */
function my_activitypub_rest_outbox_pre_callback( WP_REST_Request $request ) {
    // Your code here.
    return $request;
}
add_filter( 'activitypub_rest_outbox_pre', 'my_activitypub_rest_outbox_pre_callback' );

Parameters

  • WP_REST_Request $request The request object.

Files

\do_action( 'activitypub_rest_outbox_pre', $request )

← All Hooks

Users

Developers

Clone this wiki locally