How to enable/disable the file editor (to edit WordPress php files) in Plugins – iThemes Security
With the iThemes Security plugin, there is an option to turn off the php Editor.
In the Dashboard, click Security, then Settings in the far left column.
Under WordPress Tweaks, click the Configure Settings button
Check or Uncheck the Disable File Editor checkbox.
Once disabled, the Editor sub menu is now gone.