groups_delete_all_group_invites( int $group_id )
Delete all invitations to a given group.
Description
Parameters
- $group_id
-
(Required) ID of the group whose invitations are being deleted.
Return
(int|null) Number of rows records deleted on success, null on failure.
Source
File: bp-groups/bp-groups-functions.php
function groups_delete_all_group_invites( $group_id ) { return BP_Groups_Group::delete_all_invites( $group_id ); }
Changelog
Version | Description |
---|---|
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.