Hi
On the Login page to the Member corner of my website, I have the function "Lost Your Password": hidden link
How do I change the wording of this function to "Reset Password"?
Many thanks
Isabel
Hi Isabel,
That does not seem to be a Toolset related form.
If you used Toolset for the form you can change the label:
Edit the Member‑Corner login page in the Block Editor.
Click the Login Form block to select it.
In the right‑hand sidebar, find the field labelled Lost password link label.
Replace “Lost your password?” with Reset Password.
Click Update to save the page.
Refresh the page on the front‑end and you’ll see the new wording.
If you used the default WordPress login feature, usually the method below is the way to go:
Use the custom PHP code feature:
https://toolset.com/documentation/programmer-reference/adding-custom-code/using-toolset-to-add-custom-code/
Add this code:
/**
* Change the "Lost your password?" link text site‑wide.
*/
add_filter( 'gettext', function ( $translated, $original, $domain ) {
if ( 'default' === $domain && 'Lost your password?' === $original ) {
return 'Reset Password';
}
return $translated;
}, 20, 3 );
Save the code and activate the snippet.
Visit your login page— the link now reads Reset Password.
Thanks.