WordPress Tutorials
Disabling the Theme and Plugin Editor with DISALLOW_FILE_EDIT
One line removes the built-in code editor from the dashboard. It does not stop an administrator installing a plugin that edits the same files, which is why it is a hardening step rather than a lock.