Post On : January 17, 2020

Hello guy’s!  Today I am showing you how to disable file editing in the admin area of wordpress.

Any wordpress user can change template Plugins > Editor or Appearance > Editor Like below both my screenshot.

You can disable file editor using below code.

Add below line in wp-config.php file.

define ('DISALLOW_FILE_EDIT', true );

Now check your dashboard   Plugins > Editor or Appearance > Editor are disappeared.  Thus you are disable to editing file.

Hopefully this blog may helpful for you.

Thank You 🙂

Catagory :Wordpress