Support » Plugin: Ultimate Member - User Profile & Membership Plugin » UM is emailing the wrong role

  • ultimate member is set to email the member role not guest role for

    Account Welcome Email
    Account Activation Email
    Your account is pending review
    Account Approved Email
    Account Rejected Email
    Account Deactivated Email
    Account Deleted Email
    Password Reset Email
    Password Changed Email
    Account Updated Email

    I need some to be sent to guest so how do I change this?

Viewing 2 replies - 1 through 2 (of 2 total)
  • I’m using version 2.0.35

    Ok let me know if this is correct. The recipient “Member” is title only and these send to all no matter the account role?

    So a new account would be set to Guest and they would get the Account Welcome Email even though “Member” is shown as the recipient.

    emails-list-table.php

    /**
    * @param $item
    *
    * @return mixed|string|void
    */
    function column_recipients( $item ) {
    if ( $item[‘recipient’] == ‘admin’ )
    return UM()->options()->get( ‘admin_email’ );
    else
    return __( ‘Member’, ‘ultimate-member’ );
    }

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘UM is emailing the wrong role’ is closed to new replies.