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

This question already has an answer here:

Simple question but I can't find an answer - how do I find whether the current blog in a multisite network has a given plugin activated (speaking about plugins that are available to all sites on the network but are NOT network activated)?

share|improve this question

marked as duplicate by toscho Aug 10 '13 at 21:16

This question was marked as an exact duplicate of an existing question.

Have you tried going to the plugins page while on the individual site and looking at which ones are active? – Tom J Nowell Aug 10 '13 at 20:41
I'm trying to load PHP conditionally based on whether a plugin is active within a theme so that wouldn't do me much good in context - thankfully I just found the answer. – Brian Aug 10 '13 at 20:42

Looks like get_option('active_plugins) does the trick. Also, this question has already been answered here, sorry for the duplicate:

How to Check If A Plugin Is Enabled Through API?

share|improve this answer

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