= 3); if ( $is_pro_active ) { $total_allowed_funnels = -1; } $is_wc = \WPFunnels\Wpfnl_functions::is_wc_active(); $is_lms = \WPFunnels\Wpfnl_functions::is_lms_addon_active(); $is_mint_pro_active = \WPFunnels\Wpfnl_functions::is_mint_mrm_active(); $global_funnel_type = \WPFunnels\Wpfnl_functions::get_global_funnel_type(); $is_wc_installed = 'no'; $is_lms_installed = 'no'; $puglins = get_plugins(); if ( isset( $puglins['woocommerce/woocommerce.php']) ) { $is_wc_installed = 'yes'; } if ( isset( $puglins['wpfunnels-pro-lms/wpfunnels-pro-lms.php']) ) { $is_lms_installed = 'yes'; } $trash_redirect_link = add_query_arg( [ 'page' => WPFNL_TRASH_FUNNEL_SLUG, ], admin_url('admin.php') ); $live_redirect_link = add_query_arg( [ 'page' => WPFNL_FUNNEL_PAGE_SLUG, ], admin_url('admin.php') ); ?>

funnels) || !empty($_GET['s'])) { ?>
funnels) || !empty($_GET['s'])) && isset($_GET['page']) && 'trash_funnels' != sanitize_text_field( $_GET['page'] ) ) : ?> funnels) || !empty($_GET['s'] )) && isset($_GET['page']) && 'trash_funnels' !== sanitize_text_field( $_GET['page'] ) ){ ?>

You have hit the limit! Upgrade to Pro for unlimited funnels!

You are using the free version of WPFunnels which allows you to create up to 3 funnels. To build more funnels, either move one funnel to trash or Upgrade to Pro.

funnels)) { ?>

funnels) > 0) { ?>
funnels as $funnel) { $funnel_id = $funnel->get_id(); $edit_link = add_query_arg( [ 'page' => WPFNL_EDIT_FUNNEL_SLUG, 'id' => $funnel_id, 'step_id' => $funnel->get_first_step_id(), ], admin_url('admin.php') ); $isAutomationEnable = get_post_meta( $funnel_id, 'is_automation_enabled', true ); $isAutomationData = get_post_meta( $funnel_id,'funnel_automation_data',true); $isGbfInstalled = Wpfnl_functions::is_global_funnel_activated(); $start_condition = get_post_meta( $funnel_id, 'global_funnel_start_condition', true ); $builder = Wpfnl_functions::get_page_builder_by_step_id($funnel_id); $utm_settings = Wpfnl_functions::get_funnel_utm_settings( $funnel_id ); $is_mint_automation = Wpfnl_functions::maybe_automation_exist_for_a_funnel( $funnel_id ); $funnel_status = 'publish' === get_post_status( $funnel_id ) ? 'Draft': 'Publish'; $isGbf = get_post_meta( $funnel_id, 'is_global_funnel', true ); $_type = get_post_meta( $funnel_id, '_wpfnl_funnel_type', true ); if( 'lead' == $_type ){ $funnel_type = __('Lead', 'wpfnl'); }elseif( 'lms' == $_type ){ $funnel_type = __('LMS', 'wpfnl'); }else{ if( defined('WC_PLUGIN_FILE') ){ $funnel_type = __('Woo', 'wpfnl'); $_type = 'wc'; }else{ $funnel_type = __('Lead', 'wpfnl'); $_type = 'lead'; } } Wpfnl_functions::generate_first_step( $funnel_id ); $first_step_id = Wpfnl_functions::get_first_step( $funnel_id ); // Fallback for existing users' existing funnel // For new funnel, this condition should not trigger if( !$first_step_id ) { Wpfnl_functions::generate_first_step( $funnel_id ); $first_step_id = Wpfnl_functions::get_first_step( $funnel_id ); } if ($first_step_id) { $view_link = apply_filters( 'wpfunnels/modify_funnel_view_link', get_the_permalink( $first_step_id ), $first_step_id, $funnel_id ); } else { $view_link = '#'; } if($utm_settings['utm_enable'] == 'on') { unset($utm_settings['utm_enable']); $view_link = add_query_arg($utm_settings,$view_link); $view_link = strtolower($view_link); } if( 'lead' == $global_funnel_type && ( 'lms' == $_type || 'wc' == $_type ) ){ echo '
'; }elseif( 'sales' == $global_funnel_type && 'wc' == $_type && !$is_wc ){ echo '
'; }elseif( 'sales' == $global_funnel_type && 'lms' == $_type && !$is_lms ){ echo '
'; }else{ echo '
'; } ?>
get_funnel_name() ?> get_funnel_name() ?> get_total_steps(). ' '. Wpfnl_functions::get_formatted_data_with_phrase($funnel->get_total_steps(), 'step', 'steps'); ?>
get_id(), 'template_builder', array( 'fields' => 'all' ) ); if($builders) { foreach ($builders as $builder) { echo "{$builder->name}"; } } ?>
get_status() ?>
funnels) === 1 && 'draft' === get_post_status( $funnel_id ) ) { // Get the funnel creation time $funnel_post = get_post( $funnel_id ); $funnel_creation_time = strtotime( $funnel_post->post_date ); $current_time = current_time( 'timestamp' ); $time_difference = $current_time - $funnel_creation_time; $hours_passed = $time_difference / 3600; if ( $hours_passed >= 24 ) { $should_show_hint = true; } } if ( $should_show_hint ) { ?>

WPFNL_CREATE_FUNNEL_SLUG, ], admin_url('admin.php') ); ?>

Create your first funnel

Build a sales funnel with everything you need to generate leads and grow sales.

  • One Click Upsells
  • Order Bumps
  • A/B Split Testing
  • Conversion Templates
  • Email Automation
  • Analytics
no-funnel-video-poster

pagination) { ?>

Upgrade to Unlock This Feature

Features

  • Unlimited Funnels
  • Advanced One-Click Upsells
  • Smart Order Bump Rules
  • Premium Checkout Templates
  • Storewide Checkout