PluginProbe
WPFunnels – Funnel Builder for WooCommerce with Checkout & One Click Upsell / 3.13.3
WPFunnels – Funnel Builder for WooCommerce with Checkout & One Click Upsell v3.13.3
3.13.3 3.13.2 3.13.1 3.13.0 3.12.13 3.12.12 3.12.11 3.12.10 3.12.9 3.12.8 3.12.7 3.12.6 3.12.5 3.12.4 3.12.3 3.12.1 3.12.2 3.12.0 3.11.1 3.11.0 3.10.9 3.10.8 3.10.7 3.10.6 2.8.16 All 261 releases
← All changes | admin/modules/layout/class-wpfnl-template-layout.php +9 -4 3.10.8 → 3.13.3 View file →
@@ -133,9 +133,11 @@
133 133 'output' => 'input_1'
134 134 ];
135 135 }
136 136
137 - if (isset($step_info['isCondition']) && $step_info['isCondition']) {
137 + // Conditional step settings are a Pro feature — skip for free installs.
138 + $is_pro_active = apply_filters( 'wpfunnels/is_pro_license_activated', false );
139 + if ( $is_pro_active && isset($step_info['isCondition']) && $step_info['isCondition']) {
138 140 $this->funnel->update_meta($step_id, '_wpfnl_maybe_enable_condition', 'yes');
139 141 $this->handle_conditions($step_info, $index);
140 142 }
141 143
@@ -162,11 +164,14 @@
162 164 ]
163 165 ];
164 166
165 167 if (isset($step_info['isCondition']) && $step_info['isCondition']) {
166 - $outputs['output_2'] = [
167 - 'connections' => []
168 - ];
168 + $is_pro_active = apply_filters( 'wpfunnels/is_pro_license_activated', false );
169 + if ( $is_pro_active ) {
170 + $outputs['output_2'] = [
171 + 'connections' => []
172 + ];
173 + }
169 174 }
170 175 $edit_post_link = base64_encode(get_edit_post_link($step_id));
171 176 $view_link = base64_encode(get_the_permalink($step_id));
172 177 return [