This is why people often omit brats from weddings, plus the fact that a wedding isn't remotely interesting to a young child in the first place.
https://www.msn.com/en-us/lifestyle/weddings/aftermath-of-kids-at-wedding-is-a-great-argument-for-not-allowing-them/ar-AA10tU42?ocid=msedgntp&cvid=38f7e822a90e478f80dfed4679569f13