How to get the user role for the current logged in user in Wordpress
Quick and easy way of getting the current role in a Wordpress Setup 1 2 $current_user = wp_get_current_user(); $current_user_role = ($current_user->roles);
Quick and easy way of getting the current role in a Wordpress Setup 1 2 $current_user = wp_get_current_user(); $current_user_role = ($current_user->roles);