PluginProbe
Bookit — Booking & Appointment Calendar / 2.1.3
Bookit — Booking & Appointment Calendar v2.1.3
2.6.0.4 2.6.0.3 2.6.0.2 2.6.0.1 2.6.0 trunk 1.2 1.2.2 1.2.3 2.0.0 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7 2.0.8 2.0.9 2.1.0 2.1.1 2.1.2 2.1.3 2.1.4 2.1.5 All 61 releases
bookit / bookit.php

bookit.php in Bookit — Booking & Appointment Calendar 2.1.3, at bookit.php

33 lines 1.2 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 | Appointment Booking | BookIt
4 * Plugin URI: https://bookit.stylemixthemes.com/
5 * Description: Booking Appointments Calendar. You can easily realize Booking Appointments with this plugin.
6 * Author: StylemixThemes
7 * Author URI: https://stylemixthemes.com/
8 * License: GNU General Public License v2 or later
9 * License URI: http://www.gnu.org/licenses/gpl-2.0.html
10 * Text Domain: bookit
11 * Version: 2.1.3
12 */
13
14 if ( ! defined( 'ABSPATH' ) ) exit;
15
16 define( 'BOOKIT_VERSION', '2.1.3' );
17 define( 'BOOKIT_DB_VERSION', '2.1.3' );
18 define( 'BOOKIT_FILE', __FILE__ );
19 define( 'BOOKIT_PATH', dirname( BOOKIT_FILE ) );
20 define( 'BOOKIT_INCLUDES_PATH', BOOKIT_PATH . '/includes/' );
21 define( 'BOOKIT_CLASSES_PATH', BOOKIT_INCLUDES_PATH . 'classes/' );
22 define( 'BOOKIT_URL', plugin_dir_url( BOOKIT_FILE ) );
23
24 require_once( BOOKIT_PATH . '/includes/autoload.php' );
25
26 register_activation_hook( BOOKIT_FILE, 'bookit_plugin_activation');
27 register_deactivation_hook( BOOKIT_FILE, 'bookit_plugin_deactivation');
28 register_uninstall_hook( BOOKIT_FILE, 'bookit_plugin_uninstall');
29
30 if ( is_admin() ) {
31 require_once BOOKIT_PATH . '/includes/item-announcements.php';
32 }
33