[ad_1]
Hello-
I found this snippet of code here: [https://isotropic.co/how-to-set-wordpress-user-role-based-on-email-domain/])
I updated the domains but it is still not working. The code is in my functions.php, I go to the user’s page and refresh but nothing changes.
Any idea what I need to do? it says that I have to hook the function to the init but I don’t understand what that means.
[ad_2]