I am developing a plugin, which will be used on single site, as well as multi-site.

How to make plugin active network-wide, code required.

Also, how to save settings network-wide?

1 Answer 1


Plugins can be activated network-wide by using the "Network Activate" link, or by placing the Plugin's folder inside the \wp-content\mu-plugins directory.

For network-wide settings versus site-specific settings, I would look at how other Plugins implement such settings, such as WordPress MU Domain Mapping.

  • Agreed - when in doubt, see how someone else has solved the problem and adapt it into your own code.
    – SickHippie
    Commented Mar 6, 2012 at 0:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.