Skip to content

activitypub_inbox_post

github-actions[bot] edited this page Mar 13, 2026 · 18 revisions

DEPRECATED This hook was deprecated in version unreleased. Use activitypub_rest_inbox_post instead.

Action triggered after the ActivityPub inbox has been created and sent to the client.

Auto-generated Example

/**
 * Action triggered after the ActivityPub inbox has been created and sent to the client.
 *
 * @param WP_REST_Request $request 
 * @param string          $unreleased 
 * @param string          $activitypub_rest_inbox_post 
 */
function my_activitypub_inbox_post_callback( WP_REST_Request $request, string $unreleased, string $activitypub_rest_inbox_post ) {
    // Your code here.
}
add_action( 'activitypub_inbox_post', 'my_activitypub_inbox_post_callback', 10, 3 );

Parameters

  • WP_REST_Request $request The request object.
  • string $unreleased
  • string $activitypub_rest_inbox_post

Files

\do_action_deprecated(
			'activitypub_inbox_post',
			array( $request ),
			'unreleased',
			'activitypub_rest_inbox_post'
		)

← All Hooks

Users

Developers

Clone this wiki locally