Prevent Wordpress Admin Updating, Installing Plugins

AuthorJez R. Emery
Date
21. September 2021
Time1 min read

This will prevent new plugins being installed, plugin update status showing in the admin bar, and prevent updating on plugins on production servers.

define('DISALLOW_FILE_MODS',true);