ghostwrite

verb
  1. to write something (such as a book, article, or speech) for another person who is credited as the author

Examples