With the method is_plugin_active() we can check any particular plugin is active or not.

How to check

include_once( ABSPATH . 'wp-admin/includes/plugin.php' );

if ( is_plugin_active( 'plugin-directory/plugin-file.php' ) ) {
   // Activated
}

Suggest An Answer

No suggestions Available!