PluginProbe
WPFunnels – Funnel Builder for WooCommerce with Checkout & One Click Upsell / 3.12.8
WPFunnels – Funnel Builder for WooCommerce with Checkout & One Click Upsell v3.12.8
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
wpfunnels / admin / modules / settings / views / advance-settings.php

advance-settings.php in WPFunnels – Funnel Builder for WooCommerce with Checkout & One Click Upsell 3.12.8, at admin/modules/settings/views/advance-settings.php

121 lines 4.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Advanced Settings with Tabs
4 *
5 * @package
6 */
7 ?>
8
9 <div class="settings-tab-container">
10 <ul class="wpfnl-general-settings-tab-nav">
11 <li class="inner-tab active" data-tab="tab-basic-tools"><?php esc_html_e('Basic Tools', 'wpfnl'); ?></li>
12 <li class="inner-tab" data-tab="tab-rollback"><?php esc_html_e('Rollback Settings', 'wpfnl'); ?></li>
13 </ul>
14 </div>
15
16 <!-- Basic Tools Tab -->
17 <div class="wpfnl-tab-content active" id="tab-basic-tools">
18 <div class="wpfnl-box basic-tools-field">
19 <div class="wpfnl-field-wrapper transient-cash-wrapper">
20 <label>
21 <?php esc_html_e( 'Remove WPF Transient Cache', 'wpfnl' ); ?>
22 <span class="wpfnl-tooltip">
23 <?php require WPFNL_DIR . '/admin/partials/icons/settings-tooltip-icon.php'; ?>
24 <p><?php esc_html_e('If you are facing issues such as not getting plugin updates or license not working, clear the transient cache and try again.', 'wpfnl'); ?></p>
25 </span>
26 </label>
27 <div class="wpfnl-fields remove-transients">
28 <div class="transient-btn-wrapper">
29 <button class="clear-transients-btn clear-template" id="clear-transients">
30 <?php require WPFNL_DIR . '/admin/partials/icons/delete-transient-icon.php'; ?>
31 </button>
32 <span class="wpfnl-alert"></span>
33 </div>
34 </div>
35 </div>
36
37 <div class="wpfnl-field-wrapper analytics-stats">
38 <label><?php esc_html_e('Disable Theme Styles in Funnel Pages', 'wpfnl'); ?>
39 <span class="wpfnl-tooltip">
40 <?php require WPFNL_DIR . '/admin/partials/icons/settings-tooltip-icon.php'; ?>
41 <p><?php esc_html_e('When editing funnel pages, Enabling this option will mean the default theme styles will not be loaded when editing funnel pages and rather load the default style by WPFunnels.', 'wpfnl'); ?></p>
42 </span>
43 </label>
44 <div class="wpfnl-fields disable-theme-style">
45 <span class="wpfnl-switcher extra-sm no-title">
46 <input type="checkbox" name="disable-theme-style" id="disable-theme-style" <?php if( $this->general_settings['disable_theme_style'] == 'on' ){ echo 'checked';} ?> />
47 <label for="disable-theme-style"></label>
48 </span>
49 </div>
50 </div>
51
52 <div class="wpfnl-field-wrapper">
53 <label class="has-tooltip">
54 <?php esc_html_e('Clear Funnel Data on Plugin Uninstall', 'wpfnl'); ?>
55 <span class="wpfnl-tooltip">
56 <?php require WPFNL_DIR . '/admin/partials/icons/settings-tooltip-icon.php'; ?>
57 <p><?php esc_html_e('All the funnel data will be cleared when you uninstall the plugin', 'wpfnl'); ?></p>
58 </span>
59 </label>
60 <div class="wpfnl-fields clear-funnel-data">
61 <span class="wpfnl-switcher extra-sm no-title">
62 <input type="checkbox" name="wpfnl-data-cleanup" id="wpfnl-data-cleanup" <?php echo $this->general_settings['uninstall_cleanup'] == 'on' ? 'checked' : ''; ?> />
63 <label for="wpfnl-data-cleanup"></label>
64 </span>
65 </div>
66 </div>
67 </div>
68 </div>
69
70 <!-- Rollback Settings Tab -->
71 <div class="wpfnl-tab-content" id="tab-rollback">
72 <div class="wpfnl-box rollback-field">
73 <div class="wpfnl-field-wrapper">
74 <label><?php esc_html_e('Current Version', 'wpfnl'); ?>
75 <span class="wpfnl-tooltip">
76 <?php require WPFNL_DIR . '/admin/partials/icons/settings-tooltip-icon.php'; ?>
77 <p><?php esc_html_e('This is the current version of your plugin', 'wpfnl'); ?></p>
78 </span>
79 </label>
80 <!-- -->
81 <div class="wpfnl-fields">
82 v<?php echo WPFNL_VERSION; ?>
83 </div>
84 </div>
85
86 <div class="wpfnl-field-wrapper">
87 <label><?php esc_html_e('Rollback to older Version', 'wpfnl'); ?>
88 <span class="wpfnl-tooltip">
89 <?php require WPFNL_DIR . '/admin/partials/icons/settings-tooltip-icon.php'; ?>
90 <p><?php esc_html_e('You can roll back to our older versions', 'wpfnl'); ?></p>
91 </span>
92 </label>
93 <div class="wpfnl-fields">
94 <select class="rollback-options" name="wpfnl-rollback" id="wpfnl-rollback">
95 <?php foreach ( $rollback_versions as $version ) {
96 echo "<option value='{$version}'>$version</option>";
97 } ?>
98 </select>
99 <?php
100 echo sprintf(
101 '<a href="%s" class="wpfnl-rollback-button">%s</a>',
102 wp_nonce_url( admin_url( 'admin-post.php?action=wpfunnels_rollback&version=VERSION' ), 'wpfunnels_rollback' ),
103 __( 'Reinstall', 'wpfnl' )
104 );
105 ?>
106 </div>
107 </div>
108 <div class="hints wpfnl-error">
109 <?php require WPFNL_DIR . '/admin/partials/icons/rollback-error-icon.php'; ?>
110 <?php
111 _e(
112 sprintf(
113 'Warning: Please backup your database before rolling back to an older version of the plugin.'
114 ),
115 'wpfnl'
116 );
117 ?>
118 </div>
119 </div>
120 </div>
121