-
Notifications
You must be signed in to change notification settings - Fork 85
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_postinstead.
Action triggered after the ActivityPub inbox has been created and sent to the client.
/**
* 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 );-
WP_REST_Request$requestThe request object. -
string$unreleased -
string$activitypub_rest_inbox_post
\do_action_deprecated(
'activitypub_inbox_post',
array( $request ),
'unreleased',
'activitypub_rest_inbox_post'
)Follow @activitypub.blog@activitypub.blog for updates and news.