WordPress PHP Check Plugin Active

This was taken from the WordPress Codex reference for is_plugin_active

In the Admin Area:

In the front end of a theme you need to include a reference to the following library

In this case $plugin is the directory of the plugin followed by the main php file. In this example below the event Event Espresso plugin directory is used.

Leave a Reply

Your email address will not be published. Required fields are marked *