Plugin in “mu-plugins” folder won’t load on sub-sites in WordPress Multisite
Today I had an issue where I dropped a plugin into the “mu-plugins” folder on a WordPress multisite installation, and the plugin failed to load.
After doing some digging, I discovered that certain plugins need additional help to load.
The solution in my case was to add a file called “load.php” to the “mu-plugins” folder with the following php code in it:
<?php // mu-plugins/load.php require WPMU_PLUGIN_DIR.'/my-plugin/my-plugin.php';
(Make sure to change “my-plugin” to the new plugin’s folder name.)
Works like a charm now!
Is this helpful?