groups_get_group_mods( int $group_id )
Get a list of group moderators.
Description
Parameters
- $group_id
-
(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_mods( $group_id ) { return BP_Groups_Member::get_group_moderator_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.