WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

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 jumping neck deep into wordpress. I have set up a muilt-site environment. I am not looking for a hello-world/tutorial on creating a plugin in a muilt-site environment.

Can i just follow this http://codex.wordpress.org/Writing_a_Plugin or is the multi-site env different enough that i need something different.

thanks for any help

share|improve this question

You write things the same way. Essentially, plugins in a multi-site environment come in three different flavors:

  • Single site plugins
  • Network plugins
  • Must-use plugins

Single site plugins are installed on the network administration page and activated on each individual site.

Network plugins are installed on the network administration page and activated from the same location. As a result, they're active for all sites.

Must-use plugins are installed to the /mu-plugins directory and activated by default. There is no UI for activating/deactivating must-use plugins.

The only gotchas you'll run into are the differences between get_option()/get_site_option() and similar ... they behave differently for network installations and single sites. But being able to advise you on what to use and how depends entirely on what you're trying to accomplish.

So start with that same tutorial. Then, when you have specific questions about network/single-site functionality, ask questions.

share|improve this answer

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.