how can i set required plugins to run my plugin
xxxxxxxxxx
//you can validate if any plugin is active from your plugin with this function
function is_plugin_active($_searchplugin) {
$active_plugins = apply_filters( 'active_plugins', get_option( 'active_plugins' ) );
foreach ( $active_plugins as $plugin ) {
if ( strpos( $plugin, $_searchplugin ) ) {
return true;
}
}
return false;
}
WP, WordPress