| 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.20 |
| 11 |
License: GPLv2 or later |
| 12 |
*/ |
| 13 |
|
| 14 |
/* Copyright 2017-2026 www.oplugins.com (email: info@oplugins.com), |
| 15 |
|
| 16 |
This program is free software: you can redistribute it and/or modify |
| 17 |
it under the terms of the GNU General Public License as published by |
| 18 |
the Free Software Foundation, either version 2 of the License, or |
| 19 |
(at your option) any later version. |
| 20 |
|
| 21 |
This program is distributed in the hope that it will be useful, |
| 22 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 23 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 24 |
GNU General Public License for more details. |
| 25 |
|
| 26 |
You should have received a copy of the GNU General Public License |
| 27 |
along with this program. If not, see <http://www.gnu.org/licenses/> |
| 28 |
*/ |
| 29 |
|
| 30 |
// Exit if accessed directly |
| 31 |
if ( ! defined( 'ABSPATH' ) ) die('<h3>Direct access to this file do not allow!</h3>'); |
| 32 |
|
| 33 |
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// |
| 34 |
// PRIMARY URL CONSTANTS ////////////////////////////////////////////////////////////////////////////////////////////////// |
| 35 |
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// |
| 36 |
|
| 37 |
if ( ! defined( 'WPBM_VERSION_NUM' ) ) define( 'WPBM_VERSION_NUM', '2.1.20' ); |
| 38 |
|
| 39 |
// ..\home\siteurl\www\wp-content\plugins\plugin-name\wpbm-item.php |
| 40 |
if ( ! defined( 'WPBM_FILE' ) ) define( 'WPBM_FILE', __FILE__ ); |
| 41 |
|
| 42 |
// wpbm-item.php |
| 43 |
if ( ! defined('WPBM_PLUGIN_FILENAME' ) ) define('WPBM_PLUGIN_FILENAME', basename( __FILE__ ) ); |
| 44 |
|
| 45 |
// plugin-name |
| 46 |
if ( ! defined('WPBM_PLUGIN_DIRNAME' ) ) define('WPBM_PLUGIN_DIRNAME', plugin_basename( dirname( __FILE__ ) ) ); |
| 47 |
|
| 48 |
// ..\home\siteurl\www\wp-content\plugins\plugin-name |
| 49 |
if ( ! defined('WPBM_PLUGIN_DIR' ) ) define('WPBM_PLUGIN_DIR', untrailingslashit( plugin_dir_path( WPBM_FILE ) ) ); |
| 50 |
|
| 51 |
// http: //website.com/wp-content/plugins/plugin-name |
| 52 |
if ( ! defined('WPBM_PLUGIN_URL' ) ) define('WPBM_PLUGIN_URL', untrailingslashit( plugins_url( '', WPBM_FILE ) ) ); |
| 53 |
|
| 54 |
require_once WPBM_PLUGIN_DIR . '/core/wpbm.php'; |
| 55 |
|
| 56 |
/** |
| 57 |
* 1) Rename all files in plugin directory starting from wpbm -> prefix |
| 58 |
* |
| 59 |
* 2) Replace Instruction: |
| 60 |
* |
| 61 |
, 'booking-manager') -> , 'pluginnamelocale') |
| 62 |
_wpbm_ -> _bk_ (...) in get_wpbm_option .... |
| 63 |
WPBM -> PREFIX |
| 64 |
wpbm -> prefix |
| 65 |
bookingmanager -> booking ??? |
| 66 |
Booking Manager -> NEW_PLUGIN_NAME |
| 67 |
* |
| 68 |
*/ |
| 69 |
|