There’s no definitive answer, as it depends on the particular uniform, the wedding’s dress code, and the influencer’s personal style. In general, though, it’s probably not appropriate to wear a military uniform to a civilian wedding unless the couple getting married has requested it.