A 23-year-old Egg Harbor City man pleaded guilty to secretly filming men in restrooms, including at Planet Fitness and Wawa.