learndash_is_user_in_group( int $user_id, int $group_id )
Checks whether a user is part of the group or not.
Description Description
Parameters Parameters
- $user_id
-
(Required) User ID.
- $group_id
-
(Required) Group ID.
Return Return
(boolean) Returns true if the user is part of the group otherwise false.
Source Source
File: includes/ld-groups.php
Changelog Changelog
Version | Description |
---|---|
2.1.0 | Introduced. |