What is the meaning of Ghostwriter?

A professional writer who is paid to write material that is officially credited to another person; one who writes on behalf of someone else, often for a celebrity.

ghostwriter (professional writer who is paid to write material that is officially credited to another person; one who writes on behalf of someone else, often for a celebrity)

ghostwriter (professional writer for another person)

Source: wiktionary.org