Home › Forums › User Role Editor Pro › Show user role in confirmation email (or use webhooks) › Reply To: Show user role in confirmation email (or use webhooks)
Use the following actions to capture the assignment information.
set_user_role – For primary role.
add_user_role – For secondary roles.
Take a look into the WordPress documentation to know the parameters and how to use them.
Let me know if you have any questions.