@@ -5,27 +5,27 @@ |
||
| 5 | 5 | * @package lsx |
| 6 | 6 | */ |
| 7 | 7 | |
| 8 | -if ( ! defined( 'ABSPATH' ) ) { |
|
| 8 | +if ( ! defined('ABSPATH')) { |
|
| 9 | 9 | exit; |
| 10 | 10 | } |
| 11 | 11 | |
| 12 | -define( 'LSX_VERSION', '2.2.1' ); |
|
| 12 | +define('LSX_VERSION', '2.2.1'); |
|
| 13 | 13 | |
| 14 | 14 | require get_template_directory() . '/includes/plugins/general.php'; |
| 15 | 15 | |
| 16 | -if ( class_exists( 'WooCommerce' ) ) { |
|
| 16 | +if (class_exists('WooCommerce')) { |
|
| 17 | 17 | require get_template_directory() . '/includes/plugins/woocommerce.php'; |
| 18 | 18 | } |
| 19 | 19 | |
| 20 | -if ( class_exists( 'Tribe__Events__Main' ) ) { |
|
| 20 | +if (class_exists('Tribe__Events__Main')) { |
|
| 21 | 21 | require get_template_directory() . '/includes/plugins/the-events-calendar.php'; |
| 22 | 22 | } |
| 23 | 23 | |
| 24 | -if ( class_exists( 'Sensei_WC' ) ) { |
|
| 24 | +if (class_exists('Sensei_WC')) { |
|
| 25 | 25 | require get_template_directory() . '/includes/plugins/sensei.php'; |
| 26 | 26 | } |
| 27 | 27 | |
| 28 | -if ( class_exists( 'bbPress' ) ) { |
|
| 28 | +if (class_exists('bbPress')) { |
|
| 29 | 29 | require get_template_directory() . '/includes/plugins/bbpress.php'; |
| 30 | 30 | } |
| 31 | 31 | |
@@ -14,9 +14,9 @@ |
||
| 14 | 14 | * @return array |
| 15 | 15 | */ |
| 16 | 16 | function lsx_optinmonster_move_js( ) { |
| 17 | - if ( class_exists( 'OMAPI_Output' ) ) { |
|
| 17 | + if (class_exists('OMAPI_Output')) { |
|
| 18 | 18 | //remove_action( 'wp_enqueue_scripts', array( $this, 'api_script' ) ); |
| 19 | 19 | } |
| 20 | 20 | return $located; |
| 21 | 21 | } |
| 22 | -add_filter( 'init', 'lsx_optinmonster_move_js' ); |
|
| 22 | +add_filter('init', 'lsx_optinmonster_move_js'); |
|