learndash_get_course_groups( int $course_id, boolean $bypass_transient = false )
Gets the list of groups associated with the course.
Description Description
Parameters Parameters
- $course_id
-
(Optional) Course ID. Default 0.
- $bypass_transient
-
(Optional) Whether to bypass transient cache or not.
Default value: false
Return Return
(array) An array of group IDs associated with the course.
Source Source
File: includes/ld-groups.php
Changelog Changelog
Version | Description |
---|---|
2.2.1 | Introduced. |