can you help me, how can I change the lost password link to an email action with specified subject? I found that in the functions.php I can add a new filter like this:
add_filter( 'lostpassword_url', 'my_lostpassword_url', 10, 0 );
function my_lostpassword_url() {
return site_url('/password-reset/');
}
But I dont know how can I implement the mailto action instead of the new url. Can you help me?
mailto:
instead ofhttp:
orhttps:
, the specifics of how amailto
URL is formatted or built though isn't a WordPress problem but a general HTML question<a href="mailto:[email protected]">Send me an email</a>
<a href="mailto:[email protected]?subject=Mail from Our Site">Email Us</a>