diff --git a/templates/myaccount/my-account.php b/templates/myaccount/my-account.php index 35765d46617..4cdc63e7c5b 100644 --- a/templates/myaccount/my-account.php +++ b/templates/myaccount/my-account.php @@ -18,7 +18,7 @@ wc_print_notices(); ?> printf( __( 'Hello %1$s (not %1$s? Sign out).', 'woocommerce' ) . ' ', $current_user->display_name, - wp_logout_url( get_permalink( woocommerce_get_page_id( 'myaccount' ) ) ) + wp_logout_url( get_permalink( wc_get_page_id( 'myaccount' ) ) ) ); printf( __( 'From your account dashboard you can view your recent orders, manage your shipping and billing addresses and edit your password and account details.', 'woocommerce' ),