Skip to content

Commit fae205a

Browse files
committed
gwaft-template-collapsible.php: Added Order Summary as an additional last page.
1 parent fd45ba6 commit fae205a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

gravity-forms/gwaft-template-collapsible.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929

3030
// Add Order Summary as a separate last page.
3131
if ( ! $field && rgar( $item, 'label' ) == apply_filters( 'gwaft_order_summary_label', 'Order Summary' ) ) {
32+
// Storing order summary page as '-1' to be the last page, and avoid conflicts with the actual page numbers.
3233
$page_groups[-1][] = $item;
3334
$pages[-1] = apply_filters( 'gwaft_order_summary_label', 'Order Summary' );
3435
continue;

0 commit comments

Comments
 (0)