Get group name by id
-
Hi. I’m doing some complex export of meta data info for my site, and I need the name of the groups the user is assign. Right now I have the group_ids but I can’t find a function or something to convert them to their names. Its not in documentation, nor I can find it here. So how can I get the NAMES of the group the user belongs to?
$groups_user = new Groups_User($user_id);
$user_group_ids = $groups_user->group_ids;result is
array(2)
0:’1′
1: ‘6’
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Get group name by id’ is closed to new replies.