Disable Plugin Edits and Additions

These handy two lines of code can prevent the Plugins submenu from being accessed within WordPress. All users (including Administrators) will no longer have permission to add, edit, or see the update notifications for installed Plugins.

Comes in handy for sites run by Clients that have a lot of plugin customization.

Insert into wp-config.php:

define('DISALLOW_FILE_EDIT', true); 


Leave a Reply

katherine as a flat graphic icon

About Me

I’m an African / Ojibwe First Nations Web Developer living in Winnipeg, Manitoba.

Visit the Tips and Blog to see what I’m working on.