-
-
Notifications
You must be signed in to change notification settings - Fork 58
/
Copy pathwpackio-plugin.php
33 lines (29 loc) Β· 912 Bytes
/
wpackio-plugin.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
<?php
/**
* WPack.io Sample Plugin Development
*
* @package Wpackio
* @author Swashata Ghosh
* @copyright 2018 Swashata Ghosh
* @license GPL-2.0+
*
* @wordpress-plugin
* Plugin Name: WPack.io Sample Plugin Development
* Plugin URI: https://wpack.io
* Description: Test plugin development using wpackio-scripts
* Version: 1.0.0
* Author: Swashata Ghosh
* Author URI: https://swas.io
* Text Domain: wpack-io
* License: GPL-2.0+
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
*/
// Define plugin path
define( 'WPACKIO_SAMPLE_PLUGIN', __FILE__ );
// Get our autoloader from composer
require_once __DIR__ . '/vendor/autoload.php';
// Get our own plugin classes, we could (and **SHOULD**) use autoload here too, but let's skip it
require_once __DIR__ . '/inc/class-wpackio-plugin-init.php';
// Do stuff through this plugin
// Init
new Wpackio_Plugin_Init();