PluginProbe
Booking Calendar / 10.1.3
Booking Calendar v10.1.3
11.7 11.6.1 11.6 11.5 11.4.3 11.4.2 11.4.1 11.4 11.3 11.2.1 11.2 11.1 11.0 10.15.7 10.15.6 10.1.3 10.10 10.10.1 10.10.2 10.11 10.11.2 10.11.3 10.11.4 10.12.0 10.12.1 All 199 releases
booking / wpdev-booking.php

wpdev-booking.php in Booking Calendar 10.1.3, at wpdev-booking.php

80 lines 4.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /*
3 Plugin Name: Booking Calendar
4 Plugin URI: https://wpbookingcalendar.com/demo/
5 Description: <a href="https://wpbookingcalendar.com/"><strong>Booking Calendar</strong></a> is the original first and most popular WordPress booking plugin. <strong>Show your availability</strong> on a calendar, receive and manage <strong>full-day</strong> or <strong>time-slot bookings</strong> in a modern and intuitive booking panel. <strong>Sync</strong> your events and <strong>schedule appointments</strong> with ease using this <strong>awesome booking system</strong>.
6 Author: wpdevelop, oplugins
7 Author URI: https://wpbookingcalendar.com/
8 Text Domain: booking
9 Domain Path: /languages/
10 Version: 10.1.3
11 */
12
13 /* Copyright 2009 - 2024 www.wpbookingcalendar.com (email: info@wpbookingcalendar.com),
14
15 This program is free software: you can redistribute it and/or modify
16 it under the terms of the GNU General Public License as published by
17 the Free Software Foundation, either version 2 of the License, or
18 (at your option) any later version.
19
20 This program is distributed in the hope that it will be useful,
21 but WITHOUT ANY WARRANTY; without even the implied warranty of
22 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23 GNU General Public License for more details.
24
25 You should have received a copy of the GNU General Public License
26 along with this program. If not, see <http://www.gnu.org/licenses/>
27 */
28
29 if ( ! defined( 'ABSPATH' ) ) die( '<h3>Direct access to this file do not allow!</h3>' ); // Exit if accessed directly
30
31
32 if ( ! defined( 'WP_BK_VERSION_NUM' ) ) { define( 'WP_BK_VERSION_NUM', '10.1.3' ); }
33 if ( ! defined( 'WP_BK_MINOR_UPDATE' ) ) { define( 'WP_BK_MINOR_UPDATE', true ); }
34
35
36 // ---------------------------------------------------------------------------------------------------------------------
37 // PRIMARY URL CONSTANTS
38 // ---------------------------------------------------------------------------------------------------------------------
39
40 // ..\home\siteurl\www\wp-content\plugins\plugin-name\wpdev-booking.php
41 if ( ! defined( 'WPBC_FILE' ) ) define( 'WPBC_FILE', __FILE__ );
42
43 // wpdev-booking.php
44 if ( ! defined('WPBC_PLUGIN_FILENAME' ) ) define('WPBC_PLUGIN_FILENAME', basename( __FILE__ ) );
45
46 // plugin-name
47 if ( ! defined('WPBC_PLUGIN_DIRNAME' ) ) define('WPBC_PLUGIN_DIRNAME', plugin_basename( dirname( __FILE__ ) ) );
48
49 // ..\home\siteurl\www\wp-content\plugins\plugin-name
50 if ( ! defined('WPBC_PLUGIN_DIR' ) ) define('WPBC_PLUGIN_DIR', untrailingslashit( plugin_dir_path( WPBC_FILE ) ) );
51
52 // http: //website.com/wp-content/plugins/plugin-name
53 if ( ! defined('WPBC_PLUGIN_URL' ) ) define('WPBC_PLUGIN_URL', untrailingslashit( plugins_url( '', WPBC_FILE ) ) );
54
55 if ( ! defined('WP_BK_MIN_WP_VERSION' ) ) define('WP_BK_MIN_WP_VERSION', '4.0'); //Minimum required WP version //FixIn: 7.0.1.6
56
57
58 // ---------------------------------------------------------------------------------------------------------------------
59 // == SYSTEM CONSTANTS ==
60 // ---------------------------------------------------------------------------------------------------------------------
61 if ( ! defined( 'WP_BK_RESPONSE' ) ) { define( 'WP_BK_RESPONSE', false ); }
62
63
64 // ---------------------------------------------------------------------------------------------------------------------
65 // == DEBUG CONSTANTS ==
66 // ---------------------------------------------------------------------------------------------------------------------
67 $is_debug = 0;
68 if ( ! $is_debug ) {
69 if ( ! defined( 'WP_BK_BETA_DATA_FILL' ) ) { define( 'WP_BK_BETA_DATA_FILL', 0 ); } // Set 0 for no filling or 2 for 241 bookings or more for more
70 } else {
71 define( 'WP_BK_BETA_DATA_FILL', 3 );
72 define( 'WP_BK_BETA_DATA_FILL_AS', 'BL' ); // BL - Dates , MU - Times
73 }
74
75 if ( ! defined( 'WPBC_customize_plugin' ) ) { define( 'WPBC_customize_plugin', false ); }
76
77 // ---------------------------------------------------------------------------------------------------------------------
78 // == Go ==
79 // ---------------------------------------------------------------------------------------------------------------------
80 require_once WPBC_PLUGIN_DIR . '/core/wpbc.php';