• Resolved shemakeswebsites

    (@shemakeswebsites)


    Hello, currently the “Approved” email directs users to the WordPress login (login-php). Can this be changed to a front-end login URL? This is a poor practice.

    Please advise, thank you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Mirza Hamza

    (@hamza1010)

    Hi @shemakeswebsites,

    Thanks for contacting us,

    I hope you are doing well,?The New User Approve free version we have a filter that you can use to customize your email body.

    Please paste this code in the functions.php file to the child theme to customize the user approval email:

    Here is the code:

    add_filter( 'new_user_approve_approve_user_message', function($message, $user){
    
    $new_message="this is my custom login url : www.google.com";
    
    return $new_message;
    },999,2 );
    

    Thanks & Regards

    WP Experts Support Team

    Thread Starter shemakeswebsites

    (@shemakeswebsites)

    Thank you! Is there also a filter to change the body of the email?

    Thread Starter shemakeswebsites

    (@shemakeswebsites)

    Nevermind. This filter allows me to change the body of the email. Thank you!

    Plugin Support Mirza Hamza

    (@hamza1010)

    Hi @shemakeswebsites,

    We would appreciate a kind and honest review.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Login URL’ is closed to new replies.