Browse: Home / Functions /


learndash_is_group_leader_of_user( int $group_leader_id,  int $user_id )

Checks whether a group leader is an admin of a user’s group.

Description #

Parameters #


(int) (Required) Group leader ID.


(int) (Required) User ID.

Return #

(boolean) Returns true if group leader is an admin of a user's group otherwise false.

Source #

File: includes/ld-groups.php

Changelog #

Version Description
2.1.0 Introduced.