WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question

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.

share|improve this answer
Agreed - when in doubt, see how someone else has solved the problem and adapt it into your own code. – SickHippie Mar 6 '12 at 0:07

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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