do_action( 'groups_send_invites', int $group_id, array $invited_users, int $user_id )

Fires after the sending of invites for a group.

Description

Parameters

$group_id

(int) ID of the group who's being invited to.

$invited_users

(array) Array of users being invited to the group.

$user_id

(int) ID of the inviting user.

Source

File: bp-groups/bp-groups-functions.php

Changelog

Changelog
Version Description
BuddyPress 2.5.0 Added $user_id to passed parameters. BuddyPress 2.5.0 Added $user_id to passed parameters.
BuddyPress 1.0.0 Introduced.

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.