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 Description


Parameters Parameters

$gl_user_id

(Required) Group Leader User ID

$user_id

(Required) User ID

$course_id

(Required) Course ID


Top ↑

Return Return

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


Top ↑

Source Source

File: includes/ld-groups.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
3.4.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.