Meaning of “closet” - Learner’s Dictionary

closet

adjective uk us /ˈklɒzɪt/
a closet intellectual/liberal/socialist, etc

someone who hides their true opinions or way of life

(Definition of “closet adjective” from the Cambridge Learner’s Dictionary © Cambridge University Press)