groups_get_group_admins( int $group_id )
Get a list of group administrators.
Description
Parameters
- $group_id
-
(int) (Required) ID of the group.
Return
(array) Info about group admins (user_id + date_modified).
Source
File: bp-groups/bp-groups-functions.php
function groups_get_group_admins( $group_id ) { return BP_Groups_Member::get_group_administrator_ids( $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.