DM MuLoader
Automatically loads WordPress plugins from subfolders within the mu-plugins folder.
by Delicious Media Limited · github.com/deliciousmedia/dm-muloader · website
★ 1stars
1forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/deliciousmedia/dm-muloader/archive/refs/heads/master.zipFrom the readme
DM MuLoader
Automatically loads WordPress Must-Use plugins from within subdirectories of the mu-plugins folder.
Installation
Install via Composer (composer require deliciousmedia/dm-muloader), or just clone/copy in to your mu-plugins folder.
You'll need to copy dm-muloader.php to the main mu-plugins folder or otherwise include dm-muloader-plugin.php.
Usage
The plugin caches the list of plugin files it has found in the dmmuloadermuplugins site transient.
If you add a new mu-plugin you'll want to delete the transient to force the plugin to find new plugins.
The most reliable way to do this is to add wp transient delete dmmuloadermuplugins --network to your post-deployment script.
You can also do this by visiting the plugins page and viewing the Must-Use 'tab'.
Built by the team at Delicious Media, a specialist WordPress development agency based in Sheffield, UK.