How To Disable Editing in wp-admin Directory of a WordPress Website

by | Jun 17, 2016

Disable Editing in WP-ADMIN

I am also a big fan of this, too often we’re seeing wp-admin credentials compromised and by allowing someone to edit within your admin panel you give the attack full access to all your files. The easiest way to avoid this is to disable the editor via your wp-config file:

#Disable Plugin / Theme Editor
Define(‘DISALLOW_FILE_EDIT’,true);

About Mohammad Shoeb
Hi, I'm Shoeb. I've been fortunate to work with WordPress for over a decade and I'm continuously learning from this journey. Alongside some wonderful people, I help run Elicus in Jaipur. Our aim is to make WordPress tools that are simple and helpful.