How to get the user role for the current logged in user in Wordpress
20 Sep 12 14:11
One minute read

Quick and easy way of getting the current role in a Wordpress Setup

$current_user = wp_get_current_user();
$current_user_role = ($current_user->roles);

« Back to posts