Quiz::quiz_load_edit()

Load Quiz Edit Form


Source

File: classes/Quiz.php

	public function quiz_load_edit() {
		$item_id = (int) dozent_input_text( 'item_id' );
		$item    = get_post( $item_id );

		ob_start();
		include DOZENT_ABSPATH . 'views/course_builder/edit_quiz.php';
		$html = ob_get_clean();

		wp_send_json_success( [ 'html' => $html ] );
	}


Changelog

Changelog
Version Description
DozentLMS 1.0.0 Introduced.