diff --git src/bp-groups/bp-groups-functions.php src/bp-groups/bp-groups-functions.php
index 9cadd37..458f925 100644
|
|
function groups_send_invites( $user_id, $group_id ) { |
1253 | 1253 | * Fires after the sending of invites for a group. |
1254 | 1254 | * |
1255 | 1255 | * @since 1.0.0 |
| 1256 | * @since 2.5.0 Added $user_id to passed parameters. |
1256 | 1257 | * |
1257 | 1258 | * @param int $group_id ID of the group who's being invited to. |
1258 | 1259 | * @param array $invited_users Array of users being invited to the group. |
| 1260 | * @param int $user_id ID of the inviting user. |
1259 | 1261 | */ |
1260 | | do_action( 'groups_send_invites', $group_id, $invited_users ); |
| 1262 | do_action( 'groups_send_invites', $group_id, $invited_users, $user_id ); |
1261 | 1263 | } |
1262 | 1264 | |
1263 | 1265 | /** |