PluginProbe
SellKit – Funnel builder and checkout optimizer for WooCommerce to sell more, faster / 2.3.0
SellKit – Funnel builder and checkout optimizer for WooCommerce to sell more, faster v2.3.0
2.6.0 trunk 1.1.0 1.1.4 1.2.1 1.2.2 1.2.3 1.2.5 1.2.9 1.3.1 1.3.2 1.5.0 1.5.1 1.5.4 1.5.7 1.5.8 1.5.9 1.6.2 1.6.5 1.6.8 1.7.2 1.7.4 1.7.5 1.7.9 1.8.1 All 42 releases
← All changes | uninstall.php +3 -3 trunk2.3.0 View file →
@@ -12,12 +12,12 @@
12 12
13 13 // Include file of Database Class.
14 14 require_once dirname( __FILE__ ) . '/includes/db.php';
15 15
16 -$sellkit_options = get_option( 'sellkit', [] );
17 -$sellkit_multisite_delete_switch = is_multisite() ? get_site_option( 'delete_data' ) : false;
16 +$options = get_option( 'sellkit', [] );
17 +$multisite_delete_switch = is_multisite() ? get_site_option( 'delete_data' ) : false;
18 18
19 -if ( '1' === $sellkit_options['delete_data'] || '1' === $sellkit_multisite_delete_switch ) {
19 +if ( '1' === $options['delete_data'] || '1' === $multisite_delete_switch ) {
20 20 // Drop Sellkit admin tables.
21 21 Sellkit\Database::drop_all_tables();
22 22
23 23 // Delete sellkit option from wp_options.