diff --git a/php/classes/class-qsm-results-pages.php b/php/classes/class-qsm-results-pages.php index 2f7d6e46..d74b6615 100644 --- a/php/classes/class-qsm-results-pages.php +++ b/php/classes/class-qsm-results-pages.php @@ -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 );