Skip to content

Commit 517df78

Browse files
committed
👌 IMPROVE: Updated Settings page links in a couple places
1 parent dd91d42 commit 517df78

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

customer-loyalty-for-woocommerce.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ function run_clwc() {
128128
* @return array
129129
*/
130130
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>';
132132
array_unshift( $links, $settings_link );
133133
return $links;
134134
}
@@ -159,7 +159,7 @@ function clwc_redirect() {
159159
if ( get_option( 'clwc_do_activation_redirect', false ) ) {
160160
delete_option( 'clwc_do_activation_redirect' );
161161
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' );
163163
}
164164
}
165165
}

0 commit comments

Comments
 (0)