Change WordPress user roles and capabilities › Forums › How to or FAQ › Two roles assigned multiple roles This topic has 1 reply, 2 voices, and was last updated 4 years, 6 months ago by Vladimir. Viewing 2 posts - 1 through 2 (of 2 total) Author Posts 05/05/2020 at 15:36 #6814 tadpoleParticipant Hi, Is there a way to automatically assign a second role to two different. I am setting up different registration processes for different roles, so: Store Manager – auto assign Support Agent Store Staff – auto assign Support Agent Customer – auto assign Support User Any insight on this would be appreciated. 08/05/2020 at 05:26 #6819 VladimirKeymaster Custom code may help only. New user is registered via WordPress internal function wp_insert_user(). This function executes special action: /** * Fires immediately after a new user is registered. * * @since 1.5.0 * * @param int $user_id User ID. */ do_action( 'user_register', $user_id ); Thus, it’s possible to hook own function to ‘user_register’ action and add secondary role to user according to his primary role. Author Posts Viewing 2 posts - 1 through 2 (of 2 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In