Browse: Home / Functions /

learndash_set_exam_challenge_courses

learndash_set_exam_challenge_courses( int $exam_id,  array $exam_courses_new = array() )

Sets the list of enrolled courses for an exam.


Description #


Parameters #

$exam_id

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

$exam_courses_new

(array) (Optional) An array of courses to enroll an exam.

Default value: array()


Source #

File: includes/exam/ld-exam-functions.php


Changelog #

Changelog
Version Description
4.0.0 Introduced.