-
Notifications
You must be signed in to change notification settings - Fork 85
activitypub_outbox_updated_post
github-actions[bot] edited this page Mar 12, 2026
·
1 revision
Fires after a post has been updated from an outgoing Update activity.
/**
* Fires after a post has been updated from an outgoing Update activity.
*
* @param int $post_id
* @param array $activity
* @param int $user_id
*/
function my_activitypub_outbox_updated_post_callback( int $post_id, array $activity, int $user_id ) {
// Your code here.
}
add_action( 'activitypub_outbox_updated_post', 'my_activitypub_outbox_updated_post_callback', 10, 3 );-
int$post_idThe updated post ID. -
array$activityThe activity data. -
int$user_idThe user ID.
\do_action( 'activitypub_outbox_updated_post', $post->ID, $activity, $user_id )Follow @activitypub.blog@activitypub.blog for updates and news.