Browse: Home / Functions /


learndash_get_group_courses_list( int $group_id,  array $query_args = array() )

Gets the list of enrolled courses for a group.

Description #

Parameters #


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


(array) (Optional) An array of query arguments to get lesson list. (@since 4.0.0).

Default value: array()

Return #

(array) An array of course IDs.

Source #

File: includes/ld-groups.php

Changelog #

Version Description
4.0.0 Added $query_args parameter.
2.1.0 Introduced.