File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ function run_clwc() {
128
128
* @return array
129
129
*/
130
130
function clwc_settings_link ( $ links ) {
131
- $ settings_link = '<a href="admin.php?page=clwc_admin_settings "> ' . esc_attr__ ( 'Settings ' , 'customer-loyalty-for-woocommerce ' ) . '</a> ' ;
131
+ $ settings_link = '<a href="admin.php?page=clwc-customer-loyalty "> ' . esc_attr__ ( 'Settings ' , 'customer-loyalty-for-woocommerce ' ) . '</a> ' ;
132
132
array_unshift ( $ links , $ settings_link );
133
133
return $ links ;
134
134
}
@@ -159,7 +159,7 @@ function clwc_redirect() {
159
159
if ( get_option ( 'clwc_do_activation_redirect ' , false ) ) {
160
160
delete_option ( 'clwc_do_activation_redirect ' );
161
161
if ( null === filter_input ( INPUT_GET , 'activate-multi ' ) ) {
162
- wp_safe_redirect ( 'admin.php?page=clwc_admin_settings ' );
162
+ wp_safe_redirect ( 'admin.php?page=clwc-customer-loyalty ' );
163
163
}
164
164
}
165
165
}
You can’t perform that action at this time.
0 commit comments