learndash_get_groups_users

learndash_get_groups_users( int $group_id,  boolean $bypass_transient = false )

Gets the list of user objects that belong to a group.


Description #


Parameters #

$group_id

(int) (Required) Group ID.

$bypass_transient

(boolean) (Optional) Whether to bypass transient cache or not.

Default value: false


Return #

(array) An array user objects that belong to group.


Source #

File: includes/ld-groups.php


Changelog #

Changelog
Version Description
2.1.2 Introduced.