apply_filters( 'bp_friends_get_invite_list', array|bool $friends , int $user_id , int $group_id )
Filters the list of potential friends that can be invited to this group.
Description
Parameters
- $friends
-
Array friends available to invite or false for no friends.
- $user_id
-
ID of the user checked for who they can invite.
- $group_id
-
ID of the group being checked on.
Source
Changelog
Version | Description |
---|---|
BuddyPress 1.5.4 | 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.