| @@ -288,9 +288,8 @@ | ||
| 288 | 288 | 'is_ff_active' => is_plugin_active( 'fluentform/fluentform.php' ) ? 'yes' : 'no', |
| 289 | 289 | 'is_cl_active' => is_plugin_active( 'cart-lift/cart-lift.php' ) ? 'yes' : 'no', |
| 290 | 290 | 'is_qb_active' => is_plugin_active( 'qubely/qubely.php' ) ? 'yes' : 'no', |
| 291 | 291 | 'is_pro_active' => Wpfnl_functions::is_wpfnl_pro_activated() ? 'yes' : 'no', |
| 292 | - 'funnel_type' => $this->get_funnel_type(), | |
| 293 | 292 | 'getPlugins' => $this->get_essential_plugins(), |
| 294 | 293 | 'defaultSettings' => Wpfnl_functions::get_general_settings(), |
| 295 | 294 | 'logo_url' => WPFNL_URL .'admin/assets/images/setup-funnel-logo.png', |
| 296 | 295 | 'welcome_image' => WPFNL_URL .'admin/assets/images/welcome-image.png', |
| @@ -380,23 +379,8 @@ | ||
| 380 | 379 | } |
| 381 | 380 | } |
| 382 | 381 | |
| 383 | 382 | |
| 384 | - /** | |
| 385 | - * Get funnel type | |
| 386 | - * | |
| 387 | - * @since 2.5.3 | |
| 388 | - */ | |
| 389 | - private function get_funnel_type(){ | |
| 390 | - $general_settings = get_option( '_wpfunnels_general_settings' ); | |
| 391 | - if( isset($general_settings['funnel_type']) ){ | |
| 392 | - if( 'woocommerce' == $general_settings['funnel_type'] ){ | |
| 393 | - return 'sales'; | |
| 394 | - } | |
| 395 | - return $general_settings['funnel_type']; | |
| 396 | - } | |
| 397 | - return 'sales'; | |
| 398 | - } | |
| 399 | 383 | |
| 400 | 384 | |
| 401 | 385 | |
| 402 | 386 | |