learndash_check_group_leader_course_user_intersect

learndash_check_group_leader_course_user_intersect( int $gl_user_id,  int $user_id,  int $course_id )

Check if the Group Leader AND User and Course have common Groups.


Description #


Parameters #

$gl_user_id

(int) (Required) Group Leader User ID

$user_id

(int) (Required) User ID

$course_id

(int) (Required) Course ID


Return #

(bool) true if a common group intersect is determined.


Source #

File: includes/ld-groups.php


Changelog #

Changelog
Version Description
3.4.0 Introduced.