in case anyone else needs to do this. hooking into groups_get_groups was the right way to go. bp_has_groups also worked. I believe Brajesh’s suggestion is correct if you just want to alter how groups are displayed with the existing structure. I but I wanted to create a new way to view groups: by tags.