• Resolved comaxi

    (@comaxi)


    The lost password message “Check your email for the confirmation link, then visit the login page” is showing on the screen after users submitted the reset password request.

    How can I redirect them to a new page instead of showing this message?

    Thanks!

Viewing 1 replies (of 1 total)
  • Plugin Author Jeff Farthing

    (@jfarthing84)

    You can use the WP site_url filter to change the URL to something else:

    add_filter( 'site_url', function ($url, $path) {
        if ( 'wp-login.php?checkemail=confirm' == $path ) {
            return 'NEW URL HERE';
        }
        return $url;
    }, 5, 2 );
Viewing 1 replies (of 1 total)
  • The topic ‘Redirect to a new page instead of displaying the lost password message.’ is closed to new replies.