Site icon Hip-Hop Website Design and Development

How do I create a function that modifies the login page link in the message in the Woocommerce checkemail=confirm page

  1. When a user uses the password reset functionality in Woocommerce, they are asked to enter their email and click confirm. After doing so, they get the message:

Check your email for the confirmation link, then visit the login page

I want to modify the url in the "login page" link at the end of the message. Currently its linked to http://sitexample.com/login and I want it to link to http://sitexample.com/my-account

  1. At the same time on clicking the password reset link in the mail and after resetting the password succesfully this message is shown in the resetpass=complete page:

Your password has been reset.

This message is shown in the login page of my site http://sitexample.com/login and I want to go to the http://sitexample.com/my-account after resetting the password

All instances of links to http://sitexample.com/login should redirect to http://sitexample.com/my-account
and

After resetting the password, it should redirect to http://sitexample.com/my-account for logging in instead of http://sitexample.com/login

Please help me to solve both the issues.