Must-use Plugin Autoloader
Bedrock includes an autoloader that enables standard plugins to be required just like must-use plugins.
The autoloaded plugins are included after all mu-plugins and standard plugins have been loaded. An asterisk (*) next to the name of the plugin designates the plugins that have been autoloaded. To remove this functionality, just delete
This enables the use of mu-plugins through Composer if their package type is
wordpress-muplugin. You can also override a plugin's type like the following example:
wp-stage-switcher is a package with its type set to
wordpress-plugin. Since it implements
composer/installers we can override its type.
Help us continue to build and maintain our open source projects. We’re a small team of independent developers and every little bit helps.Sponsor Roots on GitHub