Flog political official to enforce discipline, perhaps (4)
I believe the answer is:
whip
'flog' is the definition.
(synonyms)
I don't understand how the remainder of the clue works.
Can you help me to learn more?
(Other definitions for whip that I've seen before include "MP enforcing discipline" , "Fluffy dessert" , "Disciplinary object or official" , "defeat" , "cat" .)