Quiz::question_option_delete()
Delete Quiz Question Option
Source
File: classes/Quiz.php
public function question_option_delete() { global $wpdb; $option_id = dozent_input_text( 'option_id' ); $wpdb->delete( $wpdb->dozent_quiz_question_options, [ 'option_id' => $option_id ] ); wp_send_json_success(); }
Changelog
Version | Description |
---|---|
DozentLMS 1.0.0 | Introduced. |