PluginProbe
SellKit – Funnel builder and checkout optimizer for WooCommerce to sell more, faster / 2.7.0
SellKit – Funnel builder and checkout optimizer for WooCommerce to sell more, faster v2.7.0
2.7.0 2.6.0 trunk 1.1.0 1.1.4 1.2.1 1.2.2 1.2.3 1.2.5 1.2.9 1.3.1 1.3.2 1.5.0 1.5.1 1.5.4 1.5.7 1.5.8 1.5.9 1.6.2 1.6.5 1.6.8 1.7.2 1.7.4 1.7.5 1.7.9 All 43 releases
← All changes | includes/contact-segmentation/conditions/condition-base.php +8 -4 1.2.5 → 2.7.0 View file →
@@ -14,12 +14,13 @@
14 14 * @SuppressWarnings(PHPMD.NumberOfChildren)
15 15 */
16 16 abstract class Condition_Base {
17 17
18 - const SELLKIT_DROP_DOWN_CONDITION_VALUE = 'drop-down';
19 - const SELLKIT_TEXT_CONDITION_VALUE = 'text';
20 - const SELLKIT_NUMBER_CONDITION_VALUE = 'number';
21 - const SELLKIT_MULTISELECT_CONDITION_VALUE = 'multi-select';
18 + const SELLKIT_DROP_DOWN_CONDITION_VALUE = 'drop-down';
19 + const SELLKIT_TEXT_CONDITION_VALUE = 'text';
20 + const SELLKIT_NUMBER_CONDITION_VALUE = 'number';
21 + const SELLKIT_MULTISELECT_CONDITION_VALUE = 'multi-select';
22 + const SELLKIT_REACT_SELECT_CONDITION_VALUE = 'react-select';
22 23
23 24 /**
24 25 * Main contact data.
25 26 *
@@ -33,8 +34,11 @@
33 34 *
34 35 * @since 1.1.0
35 36 */
36 37 public function __construct() {
38 + if ( ! class_exists( 'Contact_Data' ) ) {
39 + require_once __DIR__ . '/../contact-data.php';
40 + }
37 41 $contact_data = Contact_Data::get_instance();
38 42
39 43 $this->data = $contact_data->get_data();
40 44 }