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


Top ↑

Return Return

(array) An array of group IDs associated with the course.


Top ↑

Source Source

File: includes/ld-groups.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
2.2.1 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.