What is the meaning of Ghostwrite?

To write under the name of another (especially literary works).

To author a literary work or speech in the place of another.

Source: wiktionary.org