PluginProbe
SellKit – Funnel builder and checkout optimizer for WooCommerce to sell more, faster / trunk
SellKit – Funnel builder and checkout optimizer for WooCommerce to sell more, faster vtrunk
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 1.8.1 All 42 releases
sellkit / includes / contact-segmentation / operators / operator-base.php

operator-base.php in SellKit – Funnel builder and checkout optimizer for WooCommerce to sell more, faster trunk, at includes/contact-segmentation/operators/operator-base.php

48 lines 768 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace Sellkit\Contact_Segmentation;
4
5 defined( 'ABSPATH' ) || die();
6
7 /**
8 * Class Operators.
9 *
10 * @package Sellkit\Contact_Segmentation\Base.
11 * @since 1.1.0
12 */
13 abstract class Operator_Base {
14
15 /**
16 * Get title.
17 *
18 * @since 1.1.0
19 * @return string
20 */
21 abstract public function get_title();
22
23 /**
24 * Get name.
25 *
26 * @since 1.1.0
27 * @return string
28 */
29 abstract public function get_name();
30
31 /**
32 * Get conditions.
33 *
34 * @since 1.1.0
35 * @return string
36 */
37 abstract public function get_conditions();
38
39 /**
40 * Condition title.
41 *
42 * @since 1.1.0
43 * @param mixed $value The value of current value.
44 * @param mixed $condition_value The value of condition input.
45 */
46 abstract public function is_valid( $value, $condition_value );
47 }
48