Can one plugin activate another plugin via script?
I know its possible to deactivate known plugins via script, but can't find any examples of how to activate them.
Can one plugin activate another plugin via script?
I know its possible to deactivate known plugins via script, but can't find any examples of how to activate them.
Take a look at
function activate_plugin( $plugin, $redirect = '', $network_wide = false, $silent = false );
in wp-admin/includes/plugin.php