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

I'm making a WordPress plugin to get a notification when the plugin is installed.

I'm using is_plugin_active but I still do not understand...

share|improve this question
Where do you want to show the notification? As admin notice? – toscho Jun 11 '13 at 8:17
Note, if your plugin is hosted on WordPress.org or just about any plugin marketplace, this practice is not permitted. – Pippin Jun 28 '13 at 17:06

I do not recommand using is_plugin_active() because if you rename your plugin directory which is done sometimes for security needs you're screwed.

If I were you I'd look into plugin you want to detect and select a core class or a core function of the plugin and test it with if(class_exists('name_of_the_class')) or if(function_exists('name_of_the_function')).

Hope this will help, that how I proceed.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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