Skip to main content

Timeline for Testing for addon plugin activated

Current License: CC BY-SA 3.0

7 events
when toggle format what by license comment
Mar 10, 2013 at 9:23 vote accept urok93
Mar 8, 2013 at 18:41 comment added chrisguitarguy correct. You wait until the plugins_loaded hook to check so you can be sure it's loaded. If the plugin is active (and, by extension, install) the checks will be true.
Mar 8, 2013 at 17:07 comment added urok93 Excellent, so those checks would be true if the plugin is installed AND active, right?
Mar 8, 2013 at 16:51 comment added chrisguitarguy fair enough. Added an edit to show what you could do.
Mar 8, 2013 at 16:51 history edited chrisguitarguy CC BY-SA 3.0
added 721 characters in body
Mar 8, 2013 at 16:16 comment added urok93 @christguitarguy Thanks, I get this. However, I would still like to know the method to check if an addon plugin (or vice-versa, the core plugin) is installed and activated, or not. Somebody mentioned using if_function_exists(), and I'm also thinking that checking for a defined constant would be another way to do it.
Mar 8, 2013 at 4:05 history answered chrisguitarguy CC BY-SA 3.0