groups_get_requests( array $args = array() )
Get group membership requests filtered by arguments.
Description
Parameters
- $group_id
-
(Required) ID of the group.
- $args
-
(Optional) Invitation arguments. See BP_Invitation::get() for list.
Default value: array()
Return
(array) $requests Matching BP_Invitation objects.
Source
File: bp-groups/bp-groups-functions.php
function groups_get_requests( $args = array() ) { $invites_class = new BP_Groups_Invitation_Manager(); return $invites_class->get_requests( $args ); }
Changelog
Version | Description |
---|---|
BuddyPress 5.0.0 | BuddyPress 5.0.0 |
BuddyBoss 1.3.5 | 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.