@@ -10,7 +10,7 @@ discard block |
||
10 | 10 | defined( 'ABSPATH' ) || exit; |
11 | 11 | |
12 | 12 | if ( empty( $fields ) ) { |
13 | - return; |
|
13 | + return; |
|
14 | 14 | } |
15 | 15 | |
16 | 16 | // A prefix for all ids (so that a form can be included in the same page multiple times). |
@@ -50,10 +50,10 @@ discard block |
||
50 | 50 | <!-- Start Billing Address --> |
51 | 51 | <div class="getpaid-billing-address-wrapper"> |
52 | 52 | <?php |
53 | - $field_type = 'billing'; |
|
54 | - include plugin_dir_path( __FILE__ ) . 'address-fields.php'; |
|
55 | - do_action( 'getpaid_after_payment_form_billing_fields', $form ); |
|
56 | - ?> |
|
53 | + $field_type = 'billing'; |
|
54 | + include plugin_dir_path( __FILE__ ) . 'address-fields.php'; |
|
55 | + do_action( 'getpaid_after_payment_form_billing_fields', $form ); |
|
56 | + ?> |
|
57 | 57 | </div> |
58 | 58 | <!-- End Billing Address --> |
59 | 59 | |
@@ -65,19 +65,19 @@ discard block |
||
65 | 65 | |
66 | 66 | <?php |
67 | 67 | |
68 | - echo aui()->input( |
|
69 | - array( |
|
70 | - 'type' => 'checkbox', |
|
71 | - 'name' => 'same-shipping-address', |
|
72 | - 'id' => "shipping-toggle$uniqid", |
|
73 | - 'required' => false, |
|
74 | - 'label' => wp_kses_post( $shipping_address_toggle ), |
|
75 | - 'value' => 1, |
|
76 | - 'checked' => true, |
|
77 | - ) |
|
78 | - ); |
|
68 | + echo aui()->input( |
|
69 | + array( |
|
70 | + 'type' => 'checkbox', |
|
71 | + 'name' => 'same-shipping-address', |
|
72 | + 'id' => "shipping-toggle$uniqid", |
|
73 | + 'required' => false, |
|
74 | + 'label' => wp_kses_post( $shipping_address_toggle ), |
|
75 | + 'value' => 1, |
|
76 | + 'checked' => true, |
|
77 | + ) |
|
78 | + ); |
|
79 | 79 | |
80 | - ?> |
|
80 | + ?> |
|
81 | 81 | |
82 | 82 | |
83 | 83 | <!-- Start Shipping Address Title --> |
@@ -96,10 +96,10 @@ discard block |
||
96 | 96 | <!-- Start Shipping Address --> |
97 | 97 | <div class="getpaid-shipping-address-wrapper"> |
98 | 98 | <?php |
99 | - $field_type = 'shipping'; |
|
100 | - include plugin_dir_path( __FILE__ ) . 'address-fields.php'; |
|
101 | - do_action( 'getpaid_after_payment_form_shipping_fields', $form ); |
|
102 | - ?> |
|
99 | + $field_type = 'shipping'; |
|
100 | + include plugin_dir_path( __FILE__ ) . 'address-fields.php'; |
|
101 | + do_action( 'getpaid_after_payment_form_shipping_fields', $form ); |
|
102 | + ?> |
|
103 | 103 | </div> |
104 | 104 | <!-- End Shipping Address --> |
105 | 105 |