funnels) || !empty($_GET['s'])) { ?>
funnels)) { ?>
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 = is_plugin_active( 'wpfunnels-pro-gbf/wpfnl-pro-gb.php' );
$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{
$funnel_type = __('Woo', 'wpfnl');
}
$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 '
';
}
?>
Mail mint automation is created for this funnel.
Mail mint automation is not created for this funnel.
Integration is set for this funnel.
Integration is not set for this funnel.
Global funnel is set for this funnel.
Opps.. It looks like you did not set any condition for global funnel.
Global funnel is not set for this funnel.
get_id(), 'template_builder', array( 'fields' => 'all' ) );
if($builders) {
foreach ($builders as $builder) {
echo "{$builder->name} ";
}
}
?>
get_published_date() ?>
get_status() ?>
WPFNL_CREATE_FUNNEL_SLUG,
],
admin_url('admin.php')
); ?>
Funnels
Convert More Visitors into Customers: A Step-by-Step Funnel Blueprint
pagination) { ?>