Skip to content

Commit

Permalink
added index to response_data
Browse files Browse the repository at this point in the history
  • Loading branch information
iam-pranav committed Oct 18, 2024
1 parent 61e7e83 commit 311d2e1
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 311d2e1

Please sign in to comment.