How to Fix if Theme or Plugin File Editor is missing in WordPress Admin Menu
Go to file manager where your wordpress files are stored. You can access that through your cpanel or install WP File Manager plugin.Locate the file “wp-config.php” from the system files and add the following line and save the changes.
define (‘DISALLOW_FILE_EDIT’ , false);