Browse: Home / Functions /

learndash_update_course_exam_challenge

learndash_update_course_exam_challenge( int $course_id,  int $exam_id,  boolean $remove = false )

Updates the Course to Exam challenge association.


Description #


Parameters #

$course_id

(int) (Required) Course ID.

$exam_id

(int) (Required) Exam ID.

$remove

(boolean) (Optional) Whether to remove the exam from the course.

Default value: false


Return #

(boolean) true on action success otherwise false.


Source #

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


Changelog #

Changelog
Version Description
4.0.0 Introduced.