Install a MU plugin from within another plugin
Install a MU plugin from within another plugin
Install a MU plugin from within another plugin
Can’t load text domain in a mu-plugin
There are no canonical methods for doing this, and in many cases it’s undesirable. E.g. more than one plugin may want to override a drop in. You might also be reaching into and modifying files that are managed by the hosting company, which might either break things or trigger problems. Instead, you should disable any … Read more
go to the WordPress directory wp-content/plugin/ and rename the folder “force-strong-passwords” to force-strong-passwords-d If it worked then it is a plugin error remove this plugin and install its alternative plugin If you still need this plugin than contact to the plugin author
is_plugin_active isn’t available for mu-plugins to use. The codex says: NOTE: defined in wp-admin/includes/plugin.php, so this is only available from within the admin pages, and any references to this function must be hooked to admin_init or a later action. If you want to use this function from within a template or a must-use plugin, you … Read more
@toscho’s link solved this. PHP constants are case sensitive. ACF uses ACF_LITE, you are using ACF_Lite.
Apparently, there’s no way to remove one plugin from the Must-Use list… But then, found a filter that does even better: show_advanced_plugins will completely hide the sight of the Must-Use plugins. After all, if you’re trying to hide something of this nature, then hide it all… It’s inside the class WP_Plugins_List_Table and takes two arguments: … Read more
Usually putting code in child themes means putting everything in the /functions folder. If you don’t write alot of custom code this shouldn’t be such a problem. By using mu-plugins you can create a more logical way or organising your code. Especially on larger websites this will make your life a lot easier. When new … Read more
I’m the author of Mobile Smart Pro. I’m in the midst of testing WP-CLI with Mobile Smart Pro, and on line 27 of /wp-content/mu-plugins/ you should add the following test: if (!$mobile_smart) return $pluginList; So the section would look like: `function disablePlugins($pluginList) { if (is_admin()) return $pluginList; // only deactivate on front end global $mobile_smart; … Read more
mu-plugins body_class filter not working