Is it possible assign a secondary existing role to already existing one?

Question

Im interested to know if it possible Assign a secondary role IF the user it register by a specific role.

For example:

If the user register as "OWNER" wordpress must assign the existing user role "TEACHER".

I found different funtions online but nobody works, so i was wondering this specific needed its not implemented by wordpress.

Thank you!

0
Marco Crisgod 2 months 0 Answers 10 views 0

Leave an answer