| @@ -1,6 +1,8 @@ | ||
| 1 | 1 | <?php |
| 2 | - | |
| 2 | + if ( ! defined( 'ABSPATH' ) ) | |
| 3 | + exit; | |
| 4 | + | |
| 3 | 5 | function xyz_ihs_network_uninstall($networkwide) { |
| 4 | 6 | global $wpdb; |
| 5 | 7 | |
| 6 | 8 | if (function_exists('is_multisite') && is_multisite()) { |
| @@ -25,13 +27,17 @@ | ||
| 25 | 27 | global $wpdb; |
| 26 | 28 | delete_option("xyz_ihs_sort_order"); |
| 27 | 29 | delete_option("xyz_ihs_sort_field_name"); |
| 28 | 30 | delete_option("xyz_ihs_limit"); |
| 29 | - | |
| 31 | +delete_option("xyz_ihs_installed_date"); | |
| 32 | +delete_option('xyz_ihs_credit_dismiss'); | |
| 33 | +delete_option('xyz_ihs_premium_version_ads'); | |
| 34 | +delete_option('xyz_ihs_exec_in_editor'); | |
| 35 | +delete_option('xyz_ihs_free_version'); | |
| 36 | +delete_option('xyz_ihs_sync_needed'); | |
| 37 | +delete_option('xyz_ihs_show_snippet_usage'); | |
| 30 | 38 | /* table delete*/ |
| 31 | 39 | $wpdb->query("DROP TABLE ".$wpdb->prefix."xyz_ihs_short_code"); |
| 32 | - | |
| 33 | - | |
| 40 | +$wpdb->query("DROP TABLE ".$wpdb->prefix."xyz_ihs_usage"); | |
| 34 | 41 | } |
| 35 | - | |
| 36 | 42 | register_uninstall_hook( XYZ_INSERT_HTML_PLUGIN_FILE, 'xyz_ihs_network_uninstall' ); |
| 37 | 43 | ?> |