-
Notifications
You must be signed in to change notification settings - Fork 0
/
lsx-testimonials.php
executable file
·44 lines (34 loc) · 1.41 KB
/
lsx-testimonials.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
37
38
39
40
41
42
43
44
<?php
/*
* Plugin Name: LSX Testimonials
* Plugin URI: https://lsx.lsdev.biz/extensions/testimonials/
* Description: The LSX Testimonials extension adds the "Testimonials" post type.
* Version: 1.3.6
* Author: LightSpeed
* Author URI: https://www.lsdev.biz/
* License: GPL3
* License URI: https://www.gnu.org/licenses/gpl-3.0.html
* Text Domain: lsx-testimonials
* Domain Path: /languages
*/
// If this file is called directly, abort.
if ( ! defined( 'WPINC' ) ) {
die;
}
define( 'LSX_TESTIMONIALS_PATH', plugin_dir_path( __FILE__ ) );
define( 'LSX_TESTIMONIALS_CORE', __FILE__ );
define( 'LSX_TESTIMONIALS_URL', plugin_dir_url( __FILE__ ) );
define( 'LSX_TESTIMONIALS_VER', '1.3.6' );
/* ======================= Below is the Plugin Class init ========================= */
// Template Tag and functions.
require_once LSX_TESTIMONIALS_PATH . '/includes/functions.php';
// Post Type and Custom Fields.
require_once LSX_TESTIMONIALS_PATH . '/classes/class-lsx-testimonials-admin.php';
// Frontend scripts and styles.
require_once LSX_TESTIMONIALS_PATH . '/classes/class-lsx-testimonials-frontend.php';
// Shortcode and Template Tag.
require_once LSX_TESTIMONIALS_PATH . '/classes/class-lsx-testimonials.php';
// Widget.
require_once LSX_TESTIMONIALS_PATH . '/classes/class-lsx-testimonials-widget.php';
// Post reorder.
require_once LSX_TESTIMONIALS_PATH . '/includes/class-lsx-testimonials-scpo-engine.php';