Forums
Home / Plugin: WooCommerce / redirect url
(@mohandes65)
7 years, 1 month ago
Hi i will in code “$goto_url = wp_login_url( $return_path );” replace wp_login_url with myaccount page woocommerce What code is set? thanks alot
(@riaanknoetze)
Have a look at how the reset password form is handled; You can adapt the code from there for the login as well: https://github.com/woocommerce/woocommerce/blob/adfd955194dd9084f994078ad15a3437baede5f5/includes/class-wc-form-handler.php#L855-L992