-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbitski-wp-plugin-boilerplate.php
More file actions
34 lines (32 loc) · 1.22 KB
/
Copy pathbitski-wp-plugin-boilerplate.php
File metadata and controls
34 lines (32 loc) · 1.22 KB
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
<?php
/**
* bitski-wp-plugin-boilerplate
*
* Slim WordPress plugin boilerplate integrating PHP OOP principles.
*
* @since 0.1.0
*
* @wordpress-plugin
* Plugin Name: bitski-wp-plugin-boilerplate
* Plugin URI: https://github.com/bitski/bitski-wp-plugin-boilerplate
* Author: Peter Eckerle
* Author URI: https://bitski.de
* Description: Slim WordPress plugin boilerplate integrating PHP OOP principles.
* Version: 1.0.1
* Requires at least: 6.6
* Requires PHP: 7.4
* License: GNU General Public License v3.0 or later
* License URI: https://www.gnu.org/licenses/gpl-3.0.html
* Text Domain: bitski-wp-plugin-boilerplate
* Domain Path: /languages
*/
// Defines core plugin constants for plugin paths, URLs and identifiers.
define('BITSKI_WP_PLUGIN_BOILERPLATE_FILE', __FILE__);
define('BITSKI_WP_PLUGIN_BOILERPLATE_PATH', plugin_dir_path(BITSKI_WP_PLUGIN_BOILERPLATE_FILE));
define('BITSKI_WP_PLUGIN_BOILERPLATE_URL', plugin_dir_url(BITSKI_WP_PLUGIN_BOILERPLATE_FILE));
define('BITSKI_WP_PLUGIN_BOILERPLATE_SLUG', 'bitski-wp-plugin-boilerplate');
define('BITSKI_WP_PLUGIN_BOILERPLATE_VERSION', '1.0.1');
// Loads the plugin bootstrap file.
if (file_exists(__DIR__ . '/bootstrap.php')) {
require_once __DIR__ . '/bootstrap.php';
}