Skip to content

Commit

Permalink
Merge pull request #2682 from QuizandSurveyMaster/CU-85ztkvkek-qsm-ul…
Browse files Browse the repository at this point in the history
…timate-hooks

added index to response_data
  • Loading branch information
zubairraeen authored Oct 18, 2024
2 parents 61e7e83 + 311d2e1 commit ff2981a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions php/classes/class-qsm-results-pages.php
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ public static function generate_pages( $response_data ) {
// variables, and then outputs the text.
$page = wp_kses_post( htmlspecialchars_decode( $content, ENT_QUOTES) );

$response_data['result_page_index'] = $index;
//last chance to filter $page
$page = apply_filters( 'qsm_template_variable_results_page', $page, $response_data );

Expand Down

0 comments on commit ff2981a

Please sign in to comment.