As shown in the picture, there is no such option
it will show in the right corner, but it's not clickable.
Graphic Design Stack Exchange is a question and answer site for Graphic Design professionals, students, and enthusiasts. It only takes a minute to sign up.
Sign up to join this communityIt is now located in the "hamburger menu" in the upper right corner of the control bar (circled in red here)
Just click on that and from the dropdown menu select "Snap to Pixel" this will bring up the 2 controls shown below with which you can select the settings you want for pixel snapping
Also available in the View menu go View> Snap to Pixel