From 44c47c10ff79cfcd5981fd39cbd613c1c56f2416 Mon Sep 17 00:00:00 2001 From: PranavAwasthi Date: Tue, 9 Jan 2024 12:54:30 +0530 Subject: [PATCH] Fixed warnings in advance question type due to two hooks with same name --- php/question-types/qsm-question-type-dropdown.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php/question-types/qsm-question-type-dropdown.php b/php/question-types/qsm-question-type-dropdown.php index 603381bfb..aea758516 100644 --- a/php/question-types/qsm-question-type-dropdown.php +++ b/php/question-types/qsm-question-type-dropdown.php @@ -21,7 +21,7 @@ function qmn_drop_down_display( $id, $question, $answers ) { $require_class = ''; } $new_question_title = $mlwQuizMasterNext->pluginHelper->get_question_setting( $id, 'question_title' ); - $question = apply_filters( 'qsm_question_title_func_before', $question, $answers, $id ); + $question = apply_filters( 'qsm_question_title_function_before', $question, $answers, $id ); qsm_question_title_func( $question, '', $new_question_title, $id ); $show = true; $show = apply_filters( 'qsm_check_show_answer_drop_down', $show, $id, $question, $answers );