learndash_group_has_course

learndash_group_has_course( int $group_id,  int $course_id )

Checks whether a group is enrolled in a certain course.


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.