Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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
    
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
add comment

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

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1 Answer

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
add comment

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