Simply how to hide Developer options again. This works for M7 and most other HTC phones as well.
Sure, you can just turn it OFF inside Developer options and that is perhaps the easiest way.
But, I want to hide it again
Either factory reset, or going to Settings > Apps > All > Settings, where you Clear data.