Skip to content

Commit

Permalink
Merge pull request #2440 from QuizandSurveyMaster/CU-85ztj975f-advanc…
Browse files Browse the repository at this point in the history
…ed-drop-down-function

Fixed warnings in advance question type due to two hooks with same name
  • Loading branch information
zubairraeen authored Jan 9, 2024
2 parents 98e392c + 44c47c1 commit 874d67f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion php/question-types/qsm-question-type-dropdown.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
Expand Down

0 comments on commit 874d67f

Please sign in to comment.