forked from wp-plugins/wp-mobile-edition
-
Notifications
You must be signed in to change notification settings - Fork 1
/
uninstall.php
59 lines (25 loc) · 864 Bytes
/
uninstall.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<?php
/**
* Fired when the plugin is uninstalled.
*
* @package Plugin_Name
*/
// If uninstall not called from WordPress, then exit
if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
exit;
}
//core
delete_option('fdx_switcher_mode');
delete_option('fdx_switcher_desktop_domains');
delete_option('fdx_switcher_mobile_domains');
delete_option('fdx_switcher_mobile_theme');
delete_option('fdx_switcher_mobile_theme_stylesheet');
delete_option('fdx_switcher_mobile_theme_template');
delete_option('fdx_switcher_footer_links');
// ALL Settings
delete_option('fdx_settings_2');
//remove avisos
delete_option('fdx_warning_2');
delete_option('fdx_flash_2');
// remove donate time d1
delete_option('fdx1_hidden_time_2');