Upvote:10
What appears to be an official UK government web site has a form for getting a (post-dated) passport in your new name up to three months before the ceremony. The person who will conduct the ceremony has to sign, too. [Link updated using @phoog comment]