v 3.6.8 releasd
This commit is contained in:
parent
41926e8a21
commit
2e1a6f94ea
|
@ -113,5 +113,15 @@ if (is_plugin_active('woocommerce/woocommerce.php')) {
|
|||
require_once(dirname(__FILE__) . "/inc/quick_setup.php");
|
||||
}
|
||||
|
||||
function mep_no_woo_event_activation_redirect($plugin)
|
||||
{
|
||||
// $check_quick_setup = get_option('mep_quick_setup') ? get_option('mep_quick_setup') : 'no-done';
|
||||
|
||||
$slug = 'admin.php?page=mep_event_quick_setup_page';
|
||||
if ($plugin == plugin_basename(__FILE__)) {
|
||||
exit(wp_redirect(admin_url($slug)));
|
||||
}
|
||||
}
|
||||
add_action('activated_plugin', 'mep_no_woo_event_activation_redirect');
|
||||
|
||||
}
|
Loading…
Reference in New Issue