Skip to content

Commit

Permalink
Add Filter: 'qsm_questions_answers_shortcode_to_text_question'
Browse files Browse the repository at this point in the history
  • Loading branch information
krunalexpresstech committed Sep 27, 2023
1 parent 3cf5fb7 commit e47a5eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion php/template-variables.php
Original file line number Diff line number Diff line change
Expand Up @@ -957,7 +957,7 @@ function qsm_questions_answers_shortcode_to_text( $mlw_quiz_array, $qmn_question
if ( isset($answer['question_type']) && ( ( 0 == $quiz_options->show_optin && 8 == $answer['question_type'] ) || ( 0 == $quiz_options->show_text_html && 6 == $answer['question_type'] ) ) ) {
return '';
}

$questions = apply_filters( 'qsm_questions_answers_shortcode_to_text_question', $questions,$mlw_quiz_array,$answer,$qsm_question_cnt, $total_question_cnt );
$use_custom_default_template = array();
foreach ( $question_types as $type ) {
if ( isset( $type['options']['use_custom_default_template'] ) && $type['options']['use_custom_default_template'] ) {
Expand Down

0 comments on commit e47a5eb

Please sign in to comment.