get_id(), $activity['actor'] ); if ( object_to_uri( $activity['object'] ) === $follow_id ) { $post_id = Event_Source::get_by_id( $activity['actor'] )->get__id(); if ( ! $post_id ) { return; } \update_post_meta( $post_id, '_event_bridge_for_activitypub_accept_of_follow', $activity['id'] ); \wp_update_post( array( 'ID' => $post_id, 'post_status' => 'publish', ) ); } \do_action( 'event_bridge_for_activitypub_backfill_events', $activity['actor'] ); } }