Disables the built-in WordPress theme and plugin editor to prevent unauthorized modification of PHP files from the dashboard. This function should be added to the wp-config.php file in the root directory of your WordPress installation.
define( 'DISALLOW_FILE_EDIT', true );