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

    (@hamzawpexperts)

    Hello @suar888,

    Thanks for contacting us,

    I hope you are doing well. Could you please let us know which registration form you are using? This will help us better understand and assist you.

    Thanks & Regards
    WP Experts Support Team

    Plugin Support Mirza Hamza Baig

    (@hamzawpexperts)

    Hi @suar888,

    Please paste this code into the functions.php file to the active theme.

    Here is the code:

    add_filter('new_user_approve_approve_user_message_default', 'nua_change_login_url');

    function nua_change_login_url($message) {
    if ( ! function_exists( 'wc_get_page_id' ) ) {
    return $message ;
    }

    $woo_login_url = get_permalink( wc_get_page_id( 'myaccount' ) );
    $message = str_replace('{login_url}', $woo_login_url, $message);
    return $message;
    }

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

    Thank you

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Wrong Notification link’ is closed to new replies.