Reply To: Update user Role?
Thanks for the explanation and insight danbp! I am not married to updating the user role with a function. The only reason I wanted to do it is because I’m using the events manager plugin and I don’t want basic members to have permissions that are determined using the role. And I’m open to other options….
If i update the role with a function, I can avoid hiding a bunch of things using functions…which is easy enough….but my thinking was that updating the role was more efficient.
I do want to do this automatically, because I want to grant users privileges during registration.
Which do think is a better option: hiding a bunch of screen elements with a function based on the member_type attribute I created; or, updating the role at registration and have these element hidden automatically using the Events Manager plugin?
Many thanks again!