How to check if a user is in a specific role in WordPress?

To get user roles of currently logged in user and match it against a specific user role.

 

Leave a Reply

Your email address will not be published. Required fields are marked *