Ghostwriting

Writing content on behalf of someone else who is credited as the author.