forget password option not available on the affiliate login page, how can we add that
forget password
Posted in Affiliates Pro
forget password option not available on the affiliate login page, how can we add that
Follow us! We post news and tutorials related to our tools, WordPress and WooCommerce on these platforms:
Hi Jayesh,
Good morning. I trust you are well and safe!
Thank you so much for exercising patience whilst I looked into this.
With regards to your inquiry, you can use the login_form_middle action to add the forgot password link. Here’s how to go about it. In your child theme’s functions.php add the following code snippet.
add_action( ‘login_form_middle’, ‘add_lost_password_link’ );
function add_lost_password_link() {
return ‘Forgot Password?‘;
}
To learn more about child themes, please use this resource.
I remain available if you have any further inquiries.
STAY SAFE and I wish you a very fine and productive day ahead!
Best,
Eugen.