User Role Sync This add-on copies the users, and their roles, from a source blog to other blogs in the network. Comments Love your plugin. I have been attempting to programattically sync users with specific roles. However, I have not been able to accomplish this. Any suggestions on how to use “broadcast_user_role_sync()->sync_user_roles( [ ‘blogs’ => 82 ] );” with role_in = “clinician_utah” I am assuming that 82 in the code above is the blog ID? Any guidance would be much appreciated :-) Reply Blogs = to which blogs to send the user roles from the current blog. So in your case, I’m figuring you’re looking for something like this: broadcast_user_role_sync()->sync_user_roles( [ ‘blogs’ => 82, ‘role__in’ => ‘clinician_utah’, ] ); Don’t forget the double underscore in role__in, which I kept to stay with the WordPress “standard”. Leave a Reply Cancel reply Your email address will not be published. Required fields are marked *Comment Name * Email * Website Save my name, email, and website in this browser for the next time I comment.