@@ -8,34 +8,34 @@ |
||
| 8 | 8 | */ |
| 9 | 9 | |
| 10 | 10 | if ( ! defined( 'ABSPATH' ) ) { |
| 11 | - exit; |
|
| 11 | + exit; |
|
| 12 | 12 | } |
| 13 | 13 | |
| 14 | 14 | define( 'LSX_VERSION', '2.9.4' ); |
| 15 | 15 | |
| 16 | 16 | if ( in_array( 'wordpress-seo/wp-seo.php', apply_filters( 'active_plugins', get_option( 'active_plugins' ) ) ) || in_array( 'wordpress-seo-premium/wp-seo-premium.php', apply_filters( 'active_plugins', get_option( 'active_plugins' ) ) ) ) { |
| 17 | - require get_template_directory() . '/includes/yoast/class-lsx-yoast.php'; |
|
| 17 | + require get_template_directory() . '/includes/yoast/class-lsx-yoast.php'; |
|
| 18 | 18 | } |
| 19 | 19 | |
| 20 | 20 | if ( class_exists( 'WooCommerce' ) ) { |
| 21 | - require get_template_directory() . '/includes/woocommerce/woocommerce.php'; |
|
| 22 | - require get_template_directory() . '/includes/woocommerce/addons.php'; |
|
| 21 | + require get_template_directory() . '/includes/woocommerce/woocommerce.php'; |
|
| 22 | + require get_template_directory() . '/includes/woocommerce/addons.php'; |
|
| 23 | 23 | } |
| 24 | 24 | |
| 25 | 25 | if ( class_exists( 'Tribe__Events__Main' ) ) { |
| 26 | - require get_template_directory() . '/includes/the-events-calendar/the-events-calendar.php'; |
|
| 26 | + require get_template_directory() . '/includes/the-events-calendar/the-events-calendar.php'; |
|
| 27 | 27 | } |
| 28 | 28 | |
| 29 | 29 | if ( class_exists( 'Sensei_Main' ) || class_exists( 'Sensei_WC' ) ) { |
| 30 | - require get_template_directory() . '/includes/sensei/class-lsx-sensei.php'; |
|
| 30 | + require get_template_directory() . '/includes/sensei/class-lsx-sensei.php'; |
|
| 31 | 31 | } |
| 32 | 32 | |
| 33 | 33 | if ( class_exists( 'Popup_Maker' ) ) { |
| 34 | - require get_template_directory() . '/includes/popup-maker/class-lsx-popup-maker.php'; |
|
| 34 | + require get_template_directory() . '/includes/popup-maker/class-lsx-popup-maker.php'; |
|
| 35 | 35 | } |
| 36 | 36 | |
| 37 | 37 | if ( class_exists( 'bbPress' ) ) { |
| 38 | - require get_template_directory() . '/includes/bbpress/bbpress.php'; |
|
| 38 | + require get_template_directory() . '/includes/bbpress/bbpress.php'; |
|
| 39 | 39 | } |
| 40 | 40 | |
| 41 | 41 | require get_template_directory() . '/includes/config.php'; |
@@ -12,20 +12,20 @@ |
||
| 12 | 12 | */ |
| 13 | 13 | if ( ! function_exists( 'wc_od_get_delivery_date_field_args' ) ) { |
| 14 | 14 | |
| 15 | - /** |
|
| 16 | - * Change the arguments for the checkout delivery date field. |
|
| 17 | - * |
|
| 18 | - * @package lsx |
|
| 19 | - * @subpackage woocommerce |
|
| 20 | - * @param $args array |
|
| 21 | - * @return array |
|
| 22 | - */ |
|
| 23 | - function lsx_wc_delivery_date_args( $args = array(), $context ) { |
|
| 24 | - if ( 'checkout' === $context ) { |
|
| 25 | - $args[] = _x( 'Date', 'Delivery date checkout field label', 'lsx' ); |
|
| 26 | - } |
|
| 27 | - return $args; |
|
| 28 | - } |
|
| 29 | - add_action( 'wc_od_delivery_date_field_args', 'lsx_wc_delivery_date_args', 10, 2 ); |
|
| 15 | + /** |
|
| 16 | + * Change the arguments for the checkout delivery date field. |
|
| 17 | + * |
|
| 18 | + * @package lsx |
|
| 19 | + * @subpackage woocommerce |
|
| 20 | + * @param $args array |
|
| 21 | + * @return array |
|
| 22 | + */ |
|
| 23 | + function lsx_wc_delivery_date_args( $args = array(), $context ) { |
|
| 24 | + if ( 'checkout' === $context ) { |
|
| 25 | + $args[] = _x( 'Date', 'Delivery date checkout field label', 'lsx' ); |
|
| 26 | + } |
|
| 27 | + return $args; |
|
| 28 | + } |
|
| 29 | + add_action( 'wc_od_delivery_date_field_args', 'lsx_wc_delivery_date_args', 10, 2 ); |
|
| 30 | 30 | |
| 31 | 31 | } |