PluginProbe
Booking Manager – Sync WP Booking Calendar – Import Events, Export Bookings to ICS Calendar / 2.1.7
Booking Manager – Sync WP Booking Calendar – Import Events, Export Bookings to ICS Calendar v2.1.7
2.1.22 2.1.21 2.1.20 2.1.4 2.1.5 2.1.6 2.1.7 2.1.8 2.1.9 trunk 1.1 2.0 2.0.1 2.0.10.2 2.0.11 2.0.12 2.0.13 2.0.14 2.0.15 2.0.16 2.0.17 2.0.18 2.0.2 2.0.20 2.0.21 All 56 releases
booking-manager / index.php

index.php in Booking Manager – Sync WP Booking Calendar – Import Events, Export Bookings to ICS Calendar 2.1.7, at index.php

68 lines 2.8 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 Manager
4 Plugin URI: https://oplugins.com/plugins/booking-manager
5 Description: Showing events listing from .ics feeds or sync bookings from different sources to your website
6 Author: wpdevelop, oplugins
7 Author URI: https://oplugins.com/
8 Text Domain: booking-manager
9 Domain Path: /languages/
10 Version: 2.1.7
11 */
12
13 /* Copyright 2017-2023 www.oplugins.com (email: [email protected]),
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 // Exit if accessed directly
30 if ( ! defined( 'ABSPATH' ) ) die('<h3>Direct access to this file do not allow!</h3>');
31
32 ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
33 // PRIMARY URL CONSTANTS //////////////////////////////////////////////////////////////////////////////////////////////////
34 ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
35
36 if ( ! defined( 'WPBM_VERSION_NUM' ) ) define( 'WPBM_VERSION_NUM', '2.1.7' );
37
38 // ..\home\siteurl\www\wp-content\plugins\plugin-name\wpbm-item.php
39 if ( ! defined( 'WPBM_FILE' ) ) define( 'WPBM_FILE', __FILE__ );
40
41 // wpbm-item.php
42 if ( ! defined('WPBM_PLUGIN_FILENAME' ) ) define('WPBM_PLUGIN_FILENAME', basename( __FILE__ ) );
43
44 // plugin-name
45 if ( ! defined('WPBM_PLUGIN_DIRNAME' ) ) define('WPBM_PLUGIN_DIRNAME', plugin_basename( dirname( __FILE__ ) ) );
46
47 // ..\home\siteurl\www\wp-content\plugins\plugin-name
48 if ( ! defined('WPBM_PLUGIN_DIR' ) ) define('WPBM_PLUGIN_DIR', untrailingslashit( plugin_dir_path( WPBM_FILE ) ) );
49
50 // http: //website.com/wp-content/plugins/plugin-name
51 if ( ! defined('WPBM_PLUGIN_URL' ) ) define('WPBM_PLUGIN_URL', untrailingslashit( plugins_url( '', WPBM_FILE ) ) );
52
53 require_once WPBM_PLUGIN_DIR . '/core/wpbm.php';
54
55 /**
56 * 1) Rename all files in plugin directory starting from wpbm -> prefix
57 *
58 * 2) Replace Instruction:
59 *
60 , 'booking-manager') -> , 'pluginnamelocale')
61 _wpbm_ -> _bk_ (...) in get_wpbm_option ....
62 WPBM -> PREFIX
63 wpbm -> prefix
64 bookingmanager -> booking ???
65 Booking Manager -> NEW_PLUGIN_NAME
66 *
67 */
68