Reputation: 43
Is there a way to detect whether a plugin has been loaded into a WordPress page? For example, if contact form 7's plugin is loaded into page, then do some function.
Upvotes: 1
Views: 1096
Reputation: 1454
get_plugins() does that for you.
Before calling it you might want to make sure that all plugis are loaded.
To check, wether the plugin is actually active you might have to use is_plugin_active($plugin)
Good luck, and next time maybe try Google before posting a question here.
Upvotes: 0