Skip to:
Content

BuddyPress.org

Opened 5 years ago

Closed 5 years ago

#6688 closed enhancement (fixed)

groups_send_invites action should include the inviter id as a parameter

Reported by: dcavins Owned by: dcavins
Milestone: 2.5 Priority: normal
Severity: normal Version: 2.3.3
Component: Groups Keywords: has-patch commit
Cc: dcavins

Description

In the groups_send_invites action hook, we send the group id and the array of invited users, but not who's doing the inviting, which would be helpful to know.

Attachments (1)

6688.01.patch (778 bytes) - added by dcavins 5 years ago.
Add user_id as a param in groups_send_invites hook

Download all attachments as: .zip

Change History (4)

@dcavins
5 years ago

Add user_id as a param in groups_send_invites hook

#1 @dcavins
5 years ago

  • Owner set to dcavins
  • Status changed from new to accepted

#2 @DJPaul
5 years ago

  • Keywords commit added

Make it so

#3 @dcavins
5 years ago

  • Resolution set to fixed
  • Status changed from accepted to closed

In 10351:

Add user_id param in groups_send_invites filter.

In addition to sending the affected group ID and
IDs of the invitees, knowing the ID of the
inviter would be useful at this action point.

Fixes #6688.

Note: See TracTickets for help on using tickets.