https://github.com/deliciousmedia/dm-muloader
Automatically loads WordPress plugins from subfolders within the mu-plugins folder.
https://github.com/deliciousmedia/dm-muloader
mu-plugins wordpress wordpress-mu-plugins wordpress-muplugin wordpress-plugin
Last synced: 6 months ago
JSON representation
Automatically loads WordPress plugins from subfolders within the mu-plugins folder.
- Host: GitHub
- URL: https://github.com/deliciousmedia/dm-muloader
- Owner: DeliciousMedia
- License: gpl-3.0
- Created: 2018-02-04T17:04:03.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2024-01-09T15:20:52.000Z (over 2 years ago)
- Last Synced: 2025-12-08T19:30:23.627Z (6 months ago)
- Topics: mu-plugins, wordpress, wordpress-mu-plugins, wordpress-muplugin, wordpress-plugin
- Language: PHP
- Homepage: https://www.deliciousmedia.co.uk/
- Size: 19.5 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
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 `dmmuloader_muplugins` 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 dmmuloader_muplugins --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](https://www.deliciousmedia.co.uk/), a specialist WordPress development agency based in Sheffield, UK.