-
Notifications
You must be signed in to change notification settings - Fork 0
/
my-shop-wc-mod.php
48 lines (41 loc) · 1.19 KB
/
my-shop-wc-mod.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<?php
/**
* Plugin Name
*
* @author Nabin Adhikari
* @copyright 2022 Nabin Adhikari
* @license GPL-2.0+
*
* @wordpress-plugin
* Plugin Name: My Shop Wc Mod
* Plugin URI: https://example.com/plugin-name
* Description: Description of the plugin.
* Version: 1.0.0
* Requires at least: 5.2
* Requires PHP: 7.2
* Author: Nabin Adhikari
* Author URI: https://example.com
* Text Domain: my-shop-wc-mod
* License: GPL v2 or later
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
* Update URI: https://example.com/my-plugin/
*/
if ( ! defined( 'ABSPATH' ) ) {
die();
}
if ( ! defined( 'MSWM_VERSION' ) ) {
define( 'MSWM_VERSION', '1.0.0' );
}
if ( ! defined( 'MSWM_FILE_PATH' ) ) {
define( 'MSWM_FILE_PATH', __FILE__ );
}
if ( ! defined( 'MSWM_ROOT_DIR_PATH' ) ) {
define( 'MSWM_ROOT_DIR_PATH', DIRNAME( __FILE__ ) );
}
if ( ! defined( 'MSWM_ROOT_URI_PATH' ) ) {
define( 'MSWM_ROOT_URI_PATH', plugin_dir_url( __FILE__ ) );
}
if ( ! defined( 'MSWM_BASE_FILE' ) ) {
define( 'MSWM_BASE_FILE', plugin_basename( __FILE__ ) );
}
require_once MSWM_ROOT_DIR_PATH . '/includes/Bootstrap.php';