Your account is currently set to: <?php echo (S2MEMBER_CURRENT_USER_ACCESS_LEVEL == 0 ? 'Inactive' : 'Active'); ?>
Statistics: Posted by Cristián Lávaque — September 3rd, 2011, 10:21 pm
function get_user_role() {
global $current_user;
$user_roles = $current_user->roles;
$user_role = array_shift($user_roles);
return $user_role;
}
<?php echo get_user_role(); ?>
Statistics: Posted by bakinblack — September 3rd, 2011, 7:34 pm