-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplugin-base.php
More file actions
32 lines (27 loc) · 829 Bytes
/
Copy pathplugin-base.php
File metadata and controls
32 lines (27 loc) · 829 Bytes
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
<?php
/*
* Plugin Name: Plugin Base Digamber
* Description: My Plugin Description Goes Here
* Plugin URI: URI goes here
* Author: Digamber Pradhan
* Author URI: https://www.digamberpradhan.com/
* Version: 1.0.0
* Requires at least: 5.5
* Requires PHP: 7.2
* License: http://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html
* Text Domain: plugin-base
*/
defined( 'ABSPATH' ) or die( 'Script Kiddies Go Away' );
if ( ! defined( 'PLUGIN_VERSION' ) ) {
define( 'PLUGIN_VERSION', '1.0.0' );
}
if ( ! defined( 'PLUGIN_FILE_PATH' ) ) {
define( 'PLUGIN_FILE_PATH', __FILE__ );
}
if ( ! defined( 'PLUGIN_DIR' ) ) {
define( 'PLUGIN_DIR', DIRNAME( __FILE__ ) );
}
if ( ! defined( 'PLUGIN_URL_PATH' ) ) {
define( 'PLUGIN_URL_PATH', plugin_dir_url( __FILE__ ) );
}
require_once PLUGIN_DIR . '/includes/Bootstrap.php';