June 12, 2015
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); define('DISALLOW_FILE_MODS',true);