Update store setup link to redirect to setup wizard (https://github.com/woocommerce/woocommerce-admin/pull/5200)
This commit is contained in:
parent
443e2f9a55
commit
173b8c6262
|
@ -53,15 +53,15 @@ class Onboarding_Profiler {
|
||||||
$note->add_action(
|
$note->add_action(
|
||||||
'continue-profiler',
|
'continue-profiler',
|
||||||
__( 'Continue Store Setup', 'woocommerce-admin' ),
|
__( 'Continue Store Setup', 'woocommerce-admin' ),
|
||||||
wc_admin_url( '&enable_onboarding=1' ),
|
wc_admin_url( '&path=/setup-wizard' ),
|
||||||
NOTE::E_WC_ADMIN_NOTE_UNACTIONED,
|
Note::E_WC_ADMIN_NOTE_UNACTIONED,
|
||||||
true
|
true
|
||||||
);
|
);
|
||||||
$note->add_action(
|
$note->add_action(
|
||||||
'skip-profiler',
|
'skip-profiler',
|
||||||
__( 'Skip Setup', 'woocommerce-admin' ),
|
__( 'Skip Setup', 'woocommerce-admin' ),
|
||||||
wc_admin_url( '&reset_profiler=0' ),
|
wc_admin_url( '&reset_profiler=0' ),
|
||||||
'actioned',
|
Note::E_WC_ADMIN_NOTE_ACTIONED,
|
||||||
false
|
false
|
||||||
);
|
);
|
||||||
return $note;
|
return $note;
|
||||||
|
|
Loading…
Reference in New Issue