hide main menu for not logged in user in phpfox | Codeexecute

hide main menu for not logged in user in phpfox

(1)go to site admin
http://yoursite.com/index.php?do=/admincp/
(2)now go to
Settings > Manage Settings > Global Settings > Registration
(3)find “Hide Main Menu” and set it true
(4)save and clear cache