PluginProbe
Tiered Pricing Table for WooCommerce / 2.2.3
Tiered Pricing Table for WooCommerce v2.2.3
8.1.0 8.0.2 7.1.7 7.1.5 7.1.4 7.1.1 6.5.0 6.4.0 6.1.0 trunk 1.0 1.1 2.0 2.0.1 2.0.2 2.1 2.1.1 2.1.2 2.2.0 2.2.1 2.2.2 2.2.3 2.3.0 2.3.1 2.3.2 All 92 releases
← All changes | freemius/includes/entities/class-fs-plugin-license.php +22 -1 2.1.1 → 2.2.3 View file →
@@ -29,10 +29,31 @@
29 29 * @var number
30 30 */
31 31 public $plan_id;
32 32 /**
33 + * @author Leo Fajardo (@leorw)
34 + * @since 2.3.0
35 + *
36 + * @var string
37 + */
38 + public $parent_plan_name;
39 + /**
40 + * @author Leo Fajardo (@leorw)
41 + * @since 2.3.0
42 + *
43 + * @var string
44 + */
45 + public $parent_plan_title;
46 + /**
47 + * @author Leo Fajardo (@leorw)
48 + * @since 2.3.0
49 + *
33 50 * @var number
34 51 */
52 + public $parent_license_id;
53 + /**
54 + * @var number
55 + */
35 56 public $pricing_id;
36 57 /**
37 58 * @var int|null
38 59 */
@@ -94,9 +115,9 @@
94 115 *
95 116 * @return int
96 117 */
97 118 function left() {
98 - if ( ! $this->is_active() || $this->is_expired() ) {
119 + if ( ! $this->is_features_enabled() ) {
99 120 return 0;
100 121 }
101 122
102 123 if ( $this->is_unlimited() ) {