Logo

iControlWP

Welcome
Login
Home Solutions

How can we help you today?

New support ticket
Check ticket status
Solution home Shield - WordPress Security Plugin Feature Module: Login Guard

How to add custom user role(s) to enforce 2FA by email Print

Modified on: Wed, 12 Aug, 2020 at 12:50 PM


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.


Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.

Related Articles

    Home Solutions