How to find out if a particular plugin is enabled in a sub-blog in a multisite blog?
Leave a Reply
You must be logged in to post a comment.
How to find out if a particular plugin is enabled in a sub-blog in a multisite blog?
You must be logged in to post a comment.
Hm, I am not entirely sure about mechanics here. Usual
is_plugin_active()
checks if plugin is inactive_plugins
option.By this logic you could probably retrieve
active_plugins
of specific blog withget_blog_option()
and check it for plugin.Ya what Rarst said, for his example you can do something like the following but it returns an array with active plugin name/plugin_filename.php
You can try using use the global $plugin to get a lot more data.