Must-Use Plugins Must-use plugins, also known as mu-plugins, are plugins installed in a special directory inside the content folder. They are automatically enabled on all sites in the installation. Must-use plugins do not show in the default list of plugins on the Plugins screen in wp-admin, although they do appear in a separate Must-Use section. They cannot be disabled from wp-admin. To disable a must-use plugin, remove the plugin file from the must-use plugins directory, which is wp-content/mu-plugins by default. Web hosts commonly use mu-plugins to add support for host-specific features, especially features where removing the plugin could break the site. To change the default directory manually, define WPMU_PLUGIN_DIR and WPMU_PLUGIN_URL in wp-config.php. When to Use Must-Use Plugins Must-use plugins are useful for code that should always run and should not be disabled accidentally from wp-admin. Common use cases include: Host-specific integrations, such as caching, monitoring, or platform compatibility code. Site-specific bootstrap code that must load before normal plugins. Security, performance, or maintenance functionality that should remain active for the whole site. Network-wide functionality on Multisite installations. When Not to Use Must-Use Plugins Must-use plugins are not a replacement for normal plugins in every situation. Avoid using the mu-plugins directory for plugins that: Need activation or deactivation from wp-admin. Depend on activation hooks, deactivation hooks, or uninstall hooks. Need normal plugin update notifications in wp-admin. Are intended to be distributed and managed like regular WordPress plugins. Should be optional for site owners or administrators. Features Always on, with no need to enable them in wp-admin. Cannot be disabled by users by accident. Can be enabled by uploading a PHP file to the mu-plugins directory. Loaded by PHP in alphabetical order before normal plugins. This means hooks added in an mu-plugin can apply to normal plugins, even if those normal plugins run hooked functions in the global namespace. Caveats Despite its suitability for many special cases, the mu-plugins system is not always ideal and has several downsides that make it inappropriate in certain circumstances. Below are several important caveats to keep in mind: Plugins in the must-use directory will not appear in update notifications or show their update status on the plugins screen, so you are responsible for learning about and performing updates yourself. Activation hooks are not executed for plugins added to the must-use plugins folder. These hooks are used by many plugins to run setup code when the plugin is activated, or cleanup code when the plugin is deleted. Plugins that depend on these hooks may not function correctly in the mu-plugins folder. Test plugins carefully in the mu-plugins directory before deploying them to a live site. WordPress only looks for PHP files directly inside the mu-plugins directory. Unlike normal plugins, files in subdirectories are not included automatically. You may want to create a proxy PHP loader file inside the mu-plugins directory: wp-content/ mu-plugins/ load.php my-plugin/ my-plugin.php