Ajax::dozent_detach_instructor()
Detach an instructor from a course.
Source
File: classes/Ajax.php
public function dozent_detach_instructor() { $course_id = (int) dozent_input_text( 'course_id' ); $instructor_id = (int) dozent_input_text( 'instructor_id' ); dozent_instructor_detach_course( $course_id, $instructor_id ); wp_send_json_success(); }
Changelog
Version | Description |
---|---|
DozentLMS 1.0.0 | Introduced. |