@since: BuddyPress 5.0.0 Parameters changed to associative array.
Description
groups_send_invites()

Send all pending invites by a single user to a specific group.

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