learndash_set_course_groups( int $course_id, array $course_groups_new = array() )

Adds a course to the list of the given group IDs.


Description Description


Parameters Parameters

$course_id

(Optional) Course ID. Default 0.

$course_groups_new

(Optional) A list of group IDs to add a course.

Default value: array()


Top ↑

Source Source

File: includes/ld-groups.php


			

Top ↑

User Contributed Notes User Contributed Notes

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