learndash_get_groups_user_ids( int $group_id, boolean $bypass_transient = false )
Gets the list of users ids that belong to a group.
Description Description
Parameters Parameters
- $group_id
-
(Optional) Group ID. Default 0.
- $bypass_transient
-
(Optional) Whether to bypass transient cache or not.
Default value: false
Return Return
(array) An array of user ids that belong to group.
Source Source
File: includes/ld-groups.php
Changelog Changelog
Version | Description |
---|---|
2.1.0 | Introduced. |