-
Notifications
You must be signed in to change notification settings - Fork 85
activitypub_outbox_arrive_sent
github-actions[bot] edited this page Mar 31, 2026
·
1 revision
Fires after an Arrive activity has created a local blog post.
/**
* Fires after an Arrive activity has created a local blog post.
*
* @param int $post_id
* @param array $location
* @param array $data
* @param int $user_id
*/
function my_activitypub_outbox_arrive_sent_callback( int $post_id, array $location = null, array $data, int $user_id ) {
// Your code here.
}
add_action( 'activitypub_outbox_arrive_sent', 'my_activitypub_outbox_arrive_sent_callback', 10, 4 );-
int$post_idThe created post ID. -
array|null$locationThe location data from the activity. -
array$dataThe activity data. -
int$user_idThe user ID.
\do_action( 'activitypub_outbox_arrive_sent', $post->ID, $location, $data, $user_id )Follow @activitypub.blog@activitypub.blog for updates and news.