PluginProbe
Booking Manager – Sync WP Booking Calendar – Import Events, Export Bookings to ICS Calendar / 2.0
Booking Manager – Sync WP Booking Calendar – Import Events, Export Bookings to ICS Calendar v2.0
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 2.0.22 All 55 releases
booking-manager / index.php

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

66 lines 2.7 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: http://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: http://oplugins.com/
8 Text Domain: booking-manager
9 Domain Path: /languages/
10 Version: 2.0
11 */
12
13 /* Copyright 2017 www.oplugins.com (email: info@oplugins.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 // 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 // ..\home\siteurl\www\wp-content\plugins\plugin-name\wpbm-item.php
37 if ( ! defined( 'WPBM_FILE' ) ) define( 'WPBM_FILE', __FILE__ );
38
39 // wpbm-item.php
40 if ( ! defined('WPBM_PLUGIN_FILENAME' ) ) define('WPBM_PLUGIN_FILENAME', basename( __FILE__ ) );
41
42 // plugin-name
43 if ( ! defined('WPBM_PLUGIN_DIRNAME' ) ) define('WPBM_PLUGIN_DIRNAME', plugin_basename( dirname( __FILE__ ) ) );
44
45 // ..\home\siteurl\www\wp-content\plugins\plugin-name
46 if ( ! defined('WPBM_PLUGIN_DIR' ) ) define('WPBM_PLUGIN_DIR', untrailingslashit( plugin_dir_path( WPBM_FILE ) ) );
47
48 // http: //website.com/wp-content/plugins/plugin-name
49 if ( ! defined('WPBM_PLUGIN_URL' ) ) define('WPBM_PLUGIN_URL', untrailingslashit( plugins_url( '', WPBM_FILE ) ) );
50
51 require_once WPBM_PLUGIN_DIR . '/core/wpbm.php';
52
53 /**
54 * 1) Rename all files in plugin directory starting from wpbm -> prefix
55 *
56 * 2) Replace Instruction:
57 *
58 , 'booking-manager') -> , 'pluginnamelocale')
59 _wpbm_ -> _bk_ (...) in get_wpbm_option ....
60 WPBM -> PREFIX
61 wpbm -> prefix
62 bookingmanager -> booking ???
63 Booking Manager -> NEW_PLUGIN_NAME
64 *
65 */
66