Ann-Margaret Carrozza specialises in estate planning in New York and says each breach of an agreed social media rule can result in a fine of up to $50,000 (£29,700)

She said a typical clause will state couples cannot post nude photos, embarrassing photos or anything that is likely to harm a spouse’s professional reputation.

She told ABC News: “It’s a huge issue because we all know this stuff, once it’s out there, you can’t shake it.