-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplugin.php
More file actions
34 lines (27 loc) · 817 Bytes
/
plugin.php
File metadata and controls
34 lines (27 loc) · 817 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
33
34
<?php
/**
* Plugin Name: Plugin
* Plugin URI: https://bigboxwc.com/
* Description: WordPress plugin.
* Version: 1.0.0
* Author: Spencer Finnell
*
* @package BigBox\Plugin
* @category Bootstrap
* @author Spencer Finnell
*/
namespace BigBox\Plugin;
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
// Current version -- automatically updated on release.
define( __NAMESPACE__ . '\\VERSION', '%PLUGIN_VERSION%' );
// Plugin path and URL.
define( __NAMESPACE__ . '\\PATH', plugin_dir_path( __FILE__ ) );
define( __NAMESPACE__ . '\\URL', plugin_dir_url( __FILE__ ) );
// Composer autoloader.
require_once __DIR__ . '/bootstrap/version-check.php';
// Composer autoloader.
require_once __DIR__ . '/bootstrap/autoload.php';
// Start things.
require_once __DIR__ . '/bootstrap/app.php';