How to disable the theme and plugin editor in the WordPress admin panel

Disabling these editing features is quick and easy and involves adding a line to your WordPress configuration file (wp-config.php).