roles; // This gives an array of roles. $role = array_shift($roles); // Taking the first role if a user has multiple roles. ?>
Showing the single result