deliciousmedia/dm-muloader

DM Must-Use Plugin Loader, automatically loads WordPress plugins from subfolders within the mu-plugins folder.

Installs: 584

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 3

Forks: 1

Open Issues: 0

Type:wordpress-muplugin

2.2.1 2023-07-31 17:20 UTC

This package is auto-updated.

Last update: 2024-05-09 15:59:50 UTC


README

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, a specialist WordPress development agency based in Sheffield, UK.