-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwppb.php
More file actions
49 lines (43 loc) · 1.25 KB
/
wppb.php
File metadata and controls
49 lines (43 loc) · 1.25 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<?php
namespace richardevcom\wppb;
/**
* WordPress plugin boilerplate file
*
* This file is automatically indexed by WordPress and will make your plugin
* accessible in admin panel.
*
* This file serves as setup of plugin itself and will automatically load all
* necessary dependencies and set them up for you.
*
* @link richardev.com
* @since 1.0.1
* @package WPPB
*
* @wordpress-plugin
* Plugin Name: WordPress Plugin Boilerplate
* Plugin URI: https://wordpress.org/plugins/wp-plugin-boilerplate
* Description: This plugin boilerplate is meant for you to develop your own plugin on.
* Version: 1.0.1
* Author: @richardevcom
* Author URI: https://www.richardev.com
* License: GPL-2.0+
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
* Text Domain: wppb
* Domain Path: /languages
*/
// Protect this file from being called directly.
if (!defined('WPINC')) {
die;
}
/**
* Load configration and constants
*/
require_once plugin_dir_path(__FILE__) . 'includes/wppb-config.php';
/**
* Helper functions
*/
require_once WPPB_INCLUDES_PATH . 'wppb-helpers.php';
/**
* Let's run our plugin
*/
\richardevcom\wppb\helpers\wppb_init();