How to Disable File Editor in WordPress?

Table of Contents

The WordPress file editor allows you to edit your theme and plugin files from within the WordPress dashboard. While this may seem like a convenient feature, it also makes it easy for hackers to gain access to your website’s core files and inject malicious code. Therefore, it’s essential to disable the file editor to minimize the risk of security breaches.

If you are using the Nexter Extension (Free) plugin, you can easily disable the file editor on your WordPress website.  

How to Disable File Editor with the Nexter Extension?

If you check the Appearance or Plugin menu, you’ll see a file editor option, which can be used to modify the theme or plugins.

wordpress file editor

To disable the file editor option with the Nexter theme, from the WordPress Dashboard, go to Appearance > Nexter Settings > Security.

Then go to the Advanced Security section and click the Settings button.

advanced security settings

It will open the Advanced Security popup, then enable the Disable File Editor toggle and click the Save button. 

disable file editor

Now, you won’t see the file editing option under appearance or plugin.

wordpress file editor disabled