ghostwrite

/ˈɡoʊstˌraɪt/
verb
  1. To write for someone else who is named as the author; to write as a ghostwriter.
    • He agreed to ghostwrite the novel, but his name would not appear on the cover.
    • Many politicians ghostwrite their own speeches but hire others to write books.
    • She was hired to ghostwrite the celebrity's autobiography.