Skip to content

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.

Auto-generated Example

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

Parameters

  • int $post_id The created post ID.
  • array|null $location The location data from the activity.
  • array $data The activity data.
  • int $user_id The user ID.

Files

\do_action( 'activitypub_outbox_arrive_sent', $post->ID, $location, $data, $user_id )

← All Hooks

Users

Developers

Clone this wiki locally