I'm currently developing a website and am exploring all possible options to restrict file viewing. I'm trying to find a way where I can load php files like my theme-options.php and cpt.php without them been displayed in the admin panel even to admin users e.g appearance > editor.
I'm leaning towards the answer having more to do with file permissions then any actually functions calling specific files and then providing restricted access to all users.
1.How can I restrict access to these files yet load them at the same time?
Thanks