You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
github-actions[bot] edited this page Mar 12, 2026
·
1 revision
Fires after a post has been created from an outgoing Create activity.
Auto-generated Example
/** * Fires after a post has been created from an outgoing Create activity. * * @param int $post_id * @param array $activity * @param int $user_id * @param string $visibility */functionmy_activitypub_outbox_created_post_callback( int$post_id, array$activity, int$user_id, string$visibility ) {
// Your code here.
}
add_action( 'activitypub_outbox_created_post', 'my_activitypub_outbox_created_post_callback', 10, 4 );