Support » Plugin: Ultimate Member - User Profile & Membership Plugin » Default User Role As Member

  • I am having a problem where after the user is they default to subscriber instead of member. I have already tried putting this into functions but it did not seem to help.

    add_action( 'um_user_register',function($user_id){
    $default_role = 'um_member';
    update_user_meta($user_id,'role',$default_role);
    });
  • The topic ‘Default User Role As Member’ is closed to new replies.