Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter iroller

    (@iroller)

    The redirect to a page is a feature of Woocommerce. I dont need this so found following which fixes link back to wp-login.php?action=lostpassword

    function reset_pass_url() {
    $siteURL = get_option(‘siteurl’);
    return “{$siteURL}/wp-login.php?action=lostpassword”;
    }
    add_filter( ‘lostpassword_url’, ‘reset_pass_url’, 11, 0 );

    Thank you for this

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Change Lost Password link’ is closed to new replies.