learndash_get_group_courses_list

learndash_get_group_courses_list( int $group_id )

Gets the list of enrolled courses for a group.


Description #


Parameters #

$group_id

(int) (Optional) Group ID. Default 0.

$bypass_transient

(boolean) (Optional) Whether to bypass transient cache or not. Default false.


Return #

(array) An array of course IDs.


Source #

File: includes/ld-groups.php


Changelog #

Changelog
Version Description
2.1.0 Introduced.