| @@ -1,8 +1,12 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | 3 | namespace Booktics; |
| 4 | 4 | |
| 5 | +if ( ! defined( 'ABSPATH' ) ) { | |
| 6 | + exit; | |
| 7 | +} | |
| 8 | + | |
| 5 | 9 | /** |
| 6 | 10 | * Activation class |
| 7 | 11 | * |
| 8 | 12 | * @package Booktics |
| @@ -21,7 +25,8 @@ | ||
| 21 | 25 | private static function set_default_options(): void { |
| 22 | 26 | if ( function_exists( 'booktics_update_option' ) ) { |
| 23 | 27 | booktics_update_option( 'appointment_status', 'pending' ); |
| 24 | 28 | booktics_update_option( 'appointment_statuses_for_blocked_slot', array( 'pending', 'approved' ) ); |
| 29 | + booktics_update_option( 'pending_reservation_timeout', 10 ); | |
| 25 | 30 | } |
| 26 | 31 | } |
| 27 | 32 | } |