tombroucke / otomaties-disable-plugin-installation
Otomaties Disable Plugin Installation
Installs: 296
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:wordpress-muplugin
Requires
- composer/installers: ^2.0
This package is auto-updated.
Last update: 2024-11-22 21:15:47 UTC
README
Disable plugin installation. Make sure to add this plugin as a mu-plugin.
Installation
composer require tombroucke/otomaties-disable-plugin-installation
Add Config::define('DISALLOW_FILE_MODS', false);
to /config/environments/production.php
Be carefull when deploying, because the plugins in your git repository could be out of date, so you need to update them accordingly or you could experience some problems caused by regression.