| 1 |
<?php |
| 2 |
/** |
| 3 |
* View a funnel in funnel lists |
| 4 |
* |
| 5 |
* @package |
| 6 |
*/ |
| 7 |
|
| 8 |
$show_settings = filter_input(INPUT_GET, 'show_settings', FILTER_SANITIZE_SPECIAL_CHARS); |
| 9 |
|
| 10 |
if ($show_settings == 1) { |
| 11 |
$back_link = add_query_arg( |
| 12 |
[ |
| 13 |
'page' => WPFNL_EDIT_FUNNEL_SLUG, |
| 14 |
'id' => $this->funnel->get_id(), |
| 15 |
'step_id' => $this->step_module->get_id(), |
| 16 |
], |
| 17 |
admin_url('admin.php') |
| 18 |
); |
| 19 |
} else { |
| 20 |
$back_link = add_query_arg( |
| 21 |
[ |
| 22 |
'page' => WPFNL_MAIN_PAGE_SLUG, |
| 23 |
], |
| 24 |
admin_url('admin.php') |
| 25 |
); |
| 26 |
} |
| 27 |
|
| 28 |
|
| 29 |
|
| 30 |
$active_funnel_id = $this->funnel->get_id(); |
| 31 |
$step_names = apply_filters('wpfunnels_steps', [ |
| 32 |
'landing' => __('Landing', 'wpfnl'), |
| 33 |
'thankyou' => __('Thank You', 'wpfnl'), |
| 34 |
'checkout' => __('Checkout', 'wpfnl'), |
| 35 |
'upsell' => __('Upsell', 'wpfnl'), |
| 36 |
'downsell' => __('Downsell', 'wpfnl'), |
| 37 |
]); |
| 38 |
|
| 39 |
?> |
| 40 |
|
| 41 |
<div id="wpfnl-root-extra" class="wpfnl"></div> |
| 42 |
<div id="wpfnl-root" class="wpfnl"></div> |
| 43 |
<!-- <div id="email-builder" class="wpfnl" style="display:none">gfd</div> --> |
| 44 |
<!-- /.wpfnl --> |
| 45 |
|