learndash_set_groups_administrators

learndash_set_groups_administrators( int $group_id,  array $group_leaders_new = array() )

Makes the user leader for the given group ID.


Description #


Parameters #

$group_id

(int) (Optional) Group ID. Default 0.

$group_leaders_new

(array) (Optional) A list of user IDs to make group leader.

Default value: array()


Source #

File: includes/ld-groups.php


Changelog #

Changelog
Version Description
2.1.2 Introduced.