Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: Groups of Friends list

@shanebp

Moderator

Maybe there’s an easier way, but I’d do this…

Use friends_get_friend_user_ids(...) to get the ids of the logged-in user’s friends.

Pass each friend id thru groups_get_groups in user_id field.

Use groups_is_user_creator( $user_id, $group_id ) to determine if the friend was the creator of each group.

Skip to toolbar