PluginProbe
Booktics – Appointment Booking Calendar for Service Businesses / 1.0.27
Booktics – Appointment Booking Calendar for Service Businesses v1.0.27
1.0.29 1.0.28 1.0.27 1.0.26 1.0.25 1.0.24 1.0.23 1.0.22 1.0.21 1.0.20 1.0.19 trunk 1.0.0 1.0.1 1.0.10 1.0.11 1.0.12 1.0.13 1.0.14 1.0.15 1.0.16 1.0.17 1.0.18 1.0.2 1.0.3 All 31 releases
← All changes | core/settings/settings.php +9 -0 1.0.12 → 1.0.27 View file →
@@ -1,8 +1,12 @@
1 1 <?php
2 2
3 3 namespace Booktics\Settings;
4 4
5 +if ( ! defined( 'ABSPATH' ) ) {
6 + exit;
7 +}
8 +
5 9 use Booktics\Services\Schedule_Record;
6 10
7 11 /**
8 12 * Settings class
@@ -135,8 +139,13 @@
135 139 ),
136 140 'holiday' => array(),
137 141 'custom' => array(),
138 142 'allow_customer_as_wp_user' => false,
143 + 'pending_reservation_timeout' => 10,
144 + // WooCommerce checkout is stripped down by default: the booking form
145 + // already collected the customer, so billing fields would ask twice.
146 + 'wc_show_billing_fields' => false,
147 + 'wc_thankyou_page' => 'woocommerce',
139 148 );
140 149
141 150 return apply_filters( 'booktics_default_settings', $defaults );
142 151 }