1 | <?php |
||
2 | /* |
||
3 | * Plugin Name: LSX Projects |
||
4 | * Plugin URI: https://www.lsdev.biz/product/lsx-projects/ |
||
5 | * Description: The LSX Projects extension adds the "Projects" post type. |
||
6 | * Version: 1.2.0 |
||
7 | * Author: LightSpeed |
||
8 | * Author URI: https://www.lsdev.biz/ |
||
9 | * License: GPL3 |
||
10 | * License URI: https://www.gnu.org/licenses/gpl-3.0.html |
||
11 | * Text Domain: lsx-projects |
||
12 | * Domain Path: /languages |
||
13 | */ |
||
14 | |||
15 | // If this file is called directly, abort. |
||
16 | if ( ! defined( 'WPINC' ) ) { |
||
0 ignored issues
–
show
Coding Style
introduced
by
![]() |
|||
17 | die; |
||
18 | } |
||
19 | |||
20 | define( 'LSX_PROJECTS_PATH', plugin_dir_path( __FILE__ ) ); |
||
21 | define( 'LSX_PROJECTS_CORE', __FILE__ ); |
||
22 | define( 'LSX_PROJECTS_URL', plugin_dir_url( __FILE__ ) ); |
||
23 | define( 'LSX_PROJECTS_VER', '1.2.0' ); |
||
24 | |||
25 | /* ======================= Below is the Plugin Class init ========================= */ |
||
26 | |||
27 | // Template Tag and functions. |
||
28 | require_once LSX_PROJECTS_PATH . '/includes/functions.php'; |
||
29 | |||
30 | // Post Type and Custom Fields. |
||
31 | require_once LSX_PROJECTS_PATH . '/classes/class-lsx-projects-admin.php'; |
||
32 | |||
33 | // Project Core. |
||
34 | require_once LSX_PROJECTS_PATH . '/classes/class-lsx-projects-core.php'; |
||
35 | |||
36 | // Frontend scripts and styles. |
||
37 | require_once LSX_PROJECTS_PATH . '/classes/class-lsx-projects-frontend.php'; |
||
38 | |||
39 | // Shortcode and Template Tag. |
||
40 | require_once LSX_PROJECTS_PATH . '/classes/class-lsx-projects.php'; |
||
41 | |||
42 | // Widget. |
||
43 | require_once LSX_PROJECTS_PATH . '/classes/class-lsx-projects-widget.php'; |
||
44 | |||
45 | // Post reorder. |
||
46 | require_once LSX_PROJECTS_PATH . '/includes/class-lsx-projects-scpo-engine.php'; |
||
47 |