Hooks and filters

Here is a quick list of all of the hooks and filters inside the plugin.

Hooks

qmn_quiz_name_edited

Found in php/class-qmn-quiz-creator.php on line 505

mlw_qmn_end_quiz_section

Found in php/class-qmn-quiz-manager.php on line 451

mlw_qmn_load_results_page

Legacy Code

Found in php/class-qmn-quiz-manager.php on line 640

qmn_quiz_duplicated

Found in php/class-qmn-quiz-creator.php on line 647

qmn_quiz_created

Hook called after new quiz or survey has been created. Passes quiz_id to hook

Found in php/class-qmn-quiz-creator.php on line 403

wp_post_insert_qmn_log

Hook called after a QSM log is inserted

Found in php/class-qmn-log-manager.php on line 141

wp_pre_insert_qmn_log

Hook called before a QSM log is inserted

Found in php/class-qmn-log-manager.php on line 125

qmn_quiz_deleted

Hook called after quiz or survey is deleted. Hook passes quiz_id to function

Found in php/class-qmn-quiz-creator.php on line 471

Filters

qmn_log_types

Filters the taxomony for the QSM logs

Found in php/class-qmn-log-manager.php on line 36

qmn_end_results

Found in php/class-qmn-quiz-manager.php on line 638

mlw_qmn_template_variable_results_page

Found in php/template-variables.php on line 80

Found in php/template-variables.php on line 96

qmn_after_check_comments

Found in php/class-qmn-quiz-manager.php on line 576

qmn_after_results_text

Found in php/class-qmn-quiz-manager.php on line 578

qmn_before_comment_section

Found in php/class-qmn-quiz-manager.php on line 295

qmn_returned_social_buttons

Found in php/class-qmn-quiz-manager.php on line 913

qmn_end_quiz

Found in php/class-qmn-quiz-manager.php on line 308

qsm_leaderboard_widget_title

Filter to alter leadboard widget title

Found in php/widgets.php on line 52

qsm_user_email_attachments

Found in php/class-qmn-quiz-manager.php on line 956

qmn_begin_quiz_questions

Found in php/class-qmn-quiz-manager.php on line 293

qmn_begin_results

Found in php/class-qmn-quiz-manager.php on line 535

qmn_begin_quiz_form

Found in php/class-qmn-quiz-manager.php on line 291

qmn_end_shortcode

Found in php/class-qmn-quiz-manager.php on line 155

qmn_quiz_taken_stats_load_stats

Found in php/stats-page.php on line 196

qmn_begin_quiz

Found in php/class-qmn-quiz-manager.php on line 260

qmn_begin_shortcode

Found in php/class-qmn-quiz-manager.php on line 129

mlw_qmn_template_variable_quiz_page

Found in php/class-qmn-quiz-manager.php on line 333

Found in php/class-qmn-quiz-manager.php on line 413

Found in php/class-qmn-quiz-manager.php on line 441

Found in php/class-qmn-quiz-manager.php on line 1153

Found in php/class-qmn-quiz-manager.php on line 1174

Found in php/class-qmn-quiz-manager.php on line 1215

Found in php/class-qmn-quiz-manager.php on line 1233

qmn_after_send_admin_email

Found in php/class-qmn-quiz-manager.php on line 584

qmn_after_check_answers

Found in php/class-qmn-quiz-manager.php on line 574

qmn_answer_array

Found in php/class-qmn-quiz-manager.php on line 763

qmn_returned_comments

Found in php/class-qmn-quiz-manager.php on line 808

qmn_json_data

Found in php/class-qmn-quiz-manager.php on line 149

qmn_end_quiz_form

Found in php/class-qmn-quiz-manager.php on line 304

qmn_log_post_type_args

Registers QSM logs post type with filtered $args

Found in php/class-qmn-log-manager.php on line 57

qmn_after_social_media

Found in php/class-qmn-quiz-manager.php on line 580

qmn_after_send_user_email

Found in php/class-qmn-quiz-manager.php on line 582

qmn_after_comment_section

Found in php/class-qmn-quiz-manager.php on line 297