diff --git src/bp-groups/bp-groups-notifications.php src/bp-groups/bp-groups-notifications.php
index 9d1c62f..42f8613 100644
|
|
function groups_notification_group_invites( &$group, &$member, $inviter_user_id |
279 | 279 | $invited_link = bp_core_get_user_domain( $invited_user_id ) . bp_get_groups_slug(); |
280 | 280 | $args = array( |
281 | 281 | 'tokens' => array( |
282 | | 'group' => $group, |
283 | | 'group.url' => bp_get_group_permalink( $group ), |
284 | | 'group.name' => $group->name, |
285 | | 'inviter-profile.id' => $invited_user_id, |
286 | | 'inviter-profile.name' => bp_core_get_userlink( $inviter_user_id, true, false, true ), |
287 | | 'inviter-profile.url' => bp_core_get_user_domain( $inviter_user_id ), |
288 | | 'invites.url' => esc_url( $invited_link . '/invites/' ), |
| 282 | 'group' => $group, |
| 283 | 'group.url' => bp_get_group_permalink( $group ), |
| 284 | 'group.name' => $group->name, |
| 285 | 'inviter.name' => bp_core_get_userlink( $inviter_user_id, true, false, true ), |
| 286 | 'inviter.url' => bp_core_get_user_domain( $inviter_user_id ), |
| 287 | 'invites.url' => esc_url( $invited_link . '/invites/' ), |
289 | 288 | ), |
290 | 289 | ); |
291 | 290 | bp_send_email( 'groups-invitation', (int) $invited_user_id, $args ); |