Even though production on the fifth movie in the Pirates franchise has wrapped, directors Espen Sandberg and Joachim Rønning will film an extra scene with McCartney and tack it onto the project. It's unclear what role the former Beatle will play, or which characters will join him in the scene.
McCartney is the second British rock legend to appear in the Pirates of the Caribbean movies: Keith Richards has made cameos in the third and fourth films — At World's End and On Stranger Tides — as Captain Teague, the father of Johnny Depp's Captain Jack Sparrow. Depp's performance was partly inspired by the Rolling Stones guitarist, both in mannerism and look, which Richards described to Rolling Stone in a joint interview as "elegantly wasted." (There have been rumors that Richards will return for Dead Men Tell No Tales, but no official confirmation.)
Along with Depp, Dead Men Tell No Tales will star franchise regular Geoffrey Rush (Captain Hector Barbossa) and Orlando Bloom, who will return as Will Turner after sitting out the fourth film. Javier Bardem is also set to join the cast as the villain, Captain Salazar.
Pirates of the Caribbean: Dead Men Tell No Tales is set to arrive in theaters on May 26th, 2017.