• Resolved goala2016

    (@goala2016)


    Hi, I have seen that the mail configuration is a paid option, but I just need to modify the link that appears in the mail when a user is approved, as it is the access to wp-admin, and I want it to go to a specific url where I have added a user access box. Can you pass me the code to modify that line? Thanks.

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

    (@hamza1010)

    Hello @goala2016,

    Thanks for contacting us,

    I hope you are doing well, We’ve informed our technical team about your issue, and they will work on it promptly. When we receive their response, we will get back to you. Our team is here to assist you.

    Thanks & Regards
    WP Experts Support Team

    Plugin Support Mirza Hamza

    (@hamza1010)

    Hello @goala2016,

    Please add this code in functions.php of the active theme, it will change login_url from user approved email.

    Note: You should change the custom URL from the line # 05

    Here is the code:

        add_filter('new_user_approve_approve_user_message_default', 'nua_change_access_link');

    function nua_change_access_link($message) {

    $custom_url = 'www.example.com'; // replace it with any.
    $message = str_replace('{login_url}', $custom_url, $message);
    return $message;

    }


    If you have any questions, feel free to reach out. We’re here to assist you.

    Thank you

    Thread Starter goala2016

    (@goala2016)

    Ok! Solved!! Thanks.

    Plugin Support Mirza Hamza

    (@hamza1010)

    Hello @goala2016,

    Thanks for the update, We would greatly appreciate your kind and honest review. Your feedback is important to us and can help other users make informed decisions about our product and services. Thank you for taking the time to share your thoughts.

    Thank you

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.