Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter compsciprinciples

    (@compsciprinciples)

    Not sure if there was an easy fix, but I went into class-alg-wc-ev-messages.php and update the get_error_message function to the following:

    function get_error_message( $user_id ) {
    if(get_user_by( ‘id’, $user_id)){
    $notice = do_shortcode( get_option( ‘alg_wc_ev_error_message’,
    __( ‘Your account has to be activated before you can login. You can resend the email with verification link by clicking here.’, ’emails-verification-for-woocommerce’ ) ) );
    }
    else {
    $notice = ”;// code…
    }
    return str_replace( ‘%resend_verification_url%’, $this->get_resend_verification_url( $user_id ), $notice );
    }

Viewing 1 replies (of 1 total)