diff --git src/bp-groups/bp-groups-functions.php src/bp-groups/bp-groups-functions.php
index fb837df..c88c727 100644
|
|
|
function groups_send_invites( $user_id, $group_id ) {
|
| 1047 | 1047 | do_action( 'groups_send_invites', $group_id, $invited_users ); |
| 1048 | 1048 | } |
| 1049 | 1049 | |
| | 1050 | /** |
| | 1051 | * Get IDs of users with outstanding invites to a given group from a specified user. |
| | 1052 | * |
| | 1053 | * @param int $user_id ID of the inviting user. |
| | 1054 | * @param int $group_id ID of the group. |
| | 1055 | * @return array IDs of users who have been invited to the group by the |
| | 1056 | * user but have not yet accepted. |
| | 1057 | */ |
| 1050 | 1058 | function groups_get_invites_for_group( $user_id, $group_id ) { |
| 1051 | 1059 | return BP_Groups_Group::get_invites( $user_id, $group_id ); |
| 1052 | 1060 | } |