Browse: Home / Functions /

learndash_get_groups_administrators

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

Gets the list of group leaders for the given group ID.


Description #


Parameters #

$group_id

(int) (Required) Group ID.

$bypass_transient

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

Default value: false


Return #

(array) An array of group leader user objects.


Source #

File: includes/ld-groups.php


Changelog #

Changelog
Version Description
2.1.2 Introduced.