If you want to add custom user role(s) to enforce 2FA by email using Shield, this is how you can do that:
https://gist.github.com/paulgoodchild/c39c1ee72bfdcdbd705362cdcc140757
The most common place people put this code is in their functions.php file in their theme, but you can put it anywhere as long as it's executed early.
How to add custom user role(s) to enforce 2FA by email Print
Modified on: Wed, 12 Aug, 2020 at 12:50 PM
Did you find it helpful? Yes No
Send feedbackSorry we couldn't be helpful. Help us improve this article with your feedback.