learndash_group_has_course learndash_group_has_course( int $group_id, int $course_id ) Checks whether a group is enrolled in a certain course. ContentsDescription Parameters Return Source Changelog Related Namespace @package Used By Description # Parameters # $group_id (int) (Required) Group ID. $course_id (int) (Required) Course ID. Return # (boolean) Whether a group is enrolled in a course or not. Source # File: includes/ld-groups.php Changelog # Changelog Version Description 2.1.0 Introduced. Related # Namespace # global @package # LearnDash / Groups Used By # Used By Used By Description includes/class-ld-lms.php: SFWD_LMS::quiz_export_init () Export quiz data to CSV includes/ld-groups.php: learndash_user_group_enrolled_to_course () Checks whether a course can be accessed by the user’s group.
Used By # Used By Used By Description includes/class-ld-lms.php: SFWD_LMS::quiz_export_init () Export quiz data to CSV includes/ld-groups.php: learndash_user_group_enrolled_to_course () Checks whether a course can be accessed by the user’s group.