Ghostwriter has 2 different meanings across 1 category:
Noun
a writer who gives the credit of authorship to someone else
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.