Multiple user roles for specific UM user role upon registration

[ad_1]

Hi, I know this has been answered before and done but I can’t seem to get it to work.

I am trying to automatically add multiple user roles created outside of UM to a specific user role created in UM.

If user registers as role “member” that I set in UM, I am trying to make them automatically to be added the following user roles as well: “vendor”, “seller”, “organizer”, etc.

I use multi-vendor from Dokan and also some other plugins that require specific user roles. I want to make users as those other roles automatically when they register with the UM registration page without them having to go through another registration or verification process for the other plugins.

If this something I can do via functions.php? or somewhere in UM?

Thank you!

  • This topic was modified 2 hours, 23 minutes ago by wpress123. Reason: better clarification
  • This topic was modified 2 hours, 22 minutes ago by wpress123. Reason: better clarification

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer