Add additional role to user programmatically
-
I apologize if this isn’t specific to this plugin, but I have some roles added via Members that I would like to programmatically add to certain users.
For example, I’ve got a custom role
faculty, that I would like to add to certain user upon registration if certain conditions are met. I can’t seem to nail down the right method to run on the user that will give the additional role to the user.Is there a function from the plugin I can run to accomplish this?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Add additional role to user programmatically’ is closed to new replies.