Browse: Home / Functions /

learndash_is_group_leader_of_user

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 #

$group_leader_id

(int) (Required) Group leader ID.

$user_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 #

Changelog
Version Description
2.1.0 Introduced.