@since: BuddyPress 2.9.0 Added $sent as a parameter.
Description
BP_Groups_Group::get_invites()

Get IDs of users with outstanding invites to a given group from a specified user.

Source: bp-groups/classes/class-bp-groups-group.php:786

groups_get_invites_for_group()

Get IDs of users with outstanding invites to a given group from a specified user.

Source: bp-groups/bp-groups-functions.php:2097