From https://www.merriam-webster.com/dictionary/censor#dictionary...
> censor (verb): to examine in order to suppress (see suppress sense 2) or delete anything considered objectionable.
> also: to suppress or delete as objectionable
Government censorship is a very notable class of censorship, but the word has a broader meaning.