groups_is_user_creator( int $user_id, int $group_id )
Is the specified user the creator of the group?
Description
Parameters
- $user_id
-
(Required) ID of the user.
- $group_id
-
(Required) ID of the group.
Return
(int|null)
Source
File: bp-groups/bp-groups-functions.php
function groups_is_user_creator( $user_id, $group_id ) { return BP_Groups_Member::check_is_creator( $user_id, $group_id ); }
Changelog
Version | Description |
---|---|
BuddyPress 1.2.6 | 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.