-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlsx-starter-plugin.php
36 lines (31 loc) · 997 Bytes
/
lsx-starter-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
34
35
36
<?php
/*
* Plugin Name: LSX Starter Plugin
* Plugin URI: https://github.com/lightspeeddevelopment/lsx-starter-plugin
* Description: LSX Starter Plugin for building LSX theme extensions.
* Author: LightSpeed
* Version: 1.1.0
* Author URI: https://www.lsdev.biz/
* License: GPL3
* Text Domain: lsx-starter-plugin
* Domain Path: /languages/
*/
// If this file is called directly, abort.
if ( ! defined( 'WPINC' ) ) {
die;
}
define( 'LSX_STARTER_PLUGIN_PATH', plugin_dir_path( __FILE__ ) );
define( 'LSX_STARTER_PLUGIN_CORE', __FILE__ );
define( 'LSX_STARTER_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
define( 'LSX_STARTER_PLUGIN_VER', '1.1.0' );
/* ======================= Below is the Plugin Class init ========================= */
require_once LSX_STARTER_PLUGIN_PATH . '/classes/class-core.php';
/**
* Plugin kicks off with this function.
*
* @return void
*/
function lsx_starter_plugin() {
return \lsx_starter_plugin\classes\Core::get_instance();
}
lsx_starter_plugin();