Hello Marc,
We can use a filter to modify that notification. Follow the steps below:
1. Create an empty plugin like this: https://gist.github.com/sareiodata/76f701e01db6685829db
2. Add the following code to the end of it:
/*
* Filter to modify the Passwordless Login Success message
*/
add_filter('wpa_success_link_msg','wpac_modify_success_link_msg');
function wpac_modify_success_link_msg ($content){
return 'My custom text.';
}
3. Replace My custom text with your translation
4. Install this plugin via FTP (copy it inside wp-content/plugins) or create a zip archive with it and install it via the WordPress plugin upload functionality
Test it out and let me know if it works.
Best regards,
Thanks for your help, works fine!
Awesome, thanks! Adding on to this, is there a way to add a hyperlink to the success text? I want to add my email using an anchor tag.
Hello Jessica,
Thank you for reaching out to us.
In order to add a hyperlink you will need to modify “My custom text” with your own text. For example:
My custom text. <a href='http://www.yourdomain.com'>Link</a> / <a href="mailto:[email protected]">Email</a>
Let me know if this is what you are looking for.
Best regards,