-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbootstrap.php
More file actions
29 lines (28 loc) · 844 Bytes
/
Copy pathbootstrap.php
File metadata and controls
29 lines (28 loc) · 844 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
<?php
/**
* A WordPress plugin boilerplate, implemented using the Amarkal Framework
*
* @package WordPress Plugin Boilerplate
* @author Author name <email>
* @link http://www.website.com/myplugin
* @copyright 2017 author name
*
* @wordpress-plugin
* Plugin Name: WordPress Plugin Boilerplate
* Plugin URI: http://www.website.com/myplugin
* Description: A WordPress plugin boilerplate, implemented using the Amarkal Framework
* Version: 1.0.0
* Author: Author name
* Author URI: http://www.website.com/
* Text Domain: myplugin/
* Domain Path: /languages
*/
if( !function_exists('myplugin_bootstrap') )
{
function myplugin_bootstrap()
{
require_once 'vendor/autoload.php';
WPPB\Plugin::init();
}
myplugin_bootstrap();
}