PluginProbe ʕ •ᴥ•ʔ
Simple Author Box / trunk
Simple Author Box vtrunk
trunk 1.0 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.9 2.0 2.0.1 2.0.2 2.0.4 2.0.5 2.0.6 2.0.7 2.0.8 2.0.9 2.1.0 2.1.1 2.1.2 2.1.3 2.1.4 2.1.5 2.2.0 2.2.1 2.2.2 2.3.0 2.3.1 2.3.11 2.3.12 2.3.15 2.3.16 2.3.2 2.3.20 2.3.21 2.3.22 2.4 2.41 2.42 2.45 2.46 2.47 2.48 2.49 2.50 2.51 2.52 2.54 2.55 2.56 2.57 2.59 2.60
simple-author-box / uninstall.php
simple-author-box Last commit date
assets 1 month ago inc 1 month ago template 11 months ago wf-flyout 3 years ago block.json 5 years ago license.txt 7 years ago readme.txt 1 month ago simple-author-box.php 1 month ago uninstall.php 4 years ago
uninstall.php
70 lines
1 <?php
2
3 /*----------------------------------------------------------------------------------------------------------
4 Uninstall Simple Author Box plugin - deletes plugin data in database
5 -----------------------------------------------------------------------------------------------------------*/
6
7 // Exit if accessed directly
8 if (!defined('ABSPATH')) {
9 exit;
10 }
11
12 if (!defined('WP_UNINSTALL_PLUGIN')) {
13 exit();
14 }
15
16 $sabox_options = array(
17 'sab_autoinsert' => '0',
18 'sab_show_latest_posts' => '0',
19 'sab_show_custom_html' => '0',
20 'sab_no_description' => '0',
21 'sab_email' => '0',
22 'sab_link_target' => '0',
23 'sab_hide_socials' => '0',
24 'sab_hide_on_archive' => '0',
25 'sab_box_border_width' => '1',
26 'sab_avatar_style' => '0',
27 'sab_avatar_size' => '100',
28 'sab_avatar_hover' => '0',
29 'sab_web' => '0',
30 'sab_web_target' => '0',
31 'sab_web_rel' => '0',
32 'sab_web_position' => '0',
33 'sab_colored' => '0',
34 'sab_icons_style' => '0',
35 'sab_social_hover' => '0',
36 'sab_box_long_shadow' => '0',
37 'sab_box_thin_border' => '0',
38 'sab_box_author_color' => '',
39 'sab_box_web_color' => '',
40 'sab_box_border' => '',
41 'sab_box_icons_back' => '',
42 'sab_box_author_back' => '',
43 'sab_box_author_p_color' => '',
44 'sab_box_author_a_color' => '',
45 'sab_box_icons_color' => '',
46 'sab_footer_inline_style' => '',
47 'sab_box_margin_top' => '0',
48 'sab_box_margin_bottom' => '0',
49 'sab_box_padding_top_bottom' => '0',
50 'sab_box_padding_left_right' => '0',
51 'sab_box_subset' => 'none',
52 'sab_box_name_font' => 'None',
53 'sab_box_web_font' => 'None',
54 'sab_box_desc_font' => 'None',
55 'sab_box_name_size' => '18',
56 'sab_box_web_size' => '14',
57 'sab_box_desc_size' => '14',
58 'sab_box_icon_size' => '18',
59 'sab_desc_style' => '0',
60 'sab_whitelabel' => 0,
61 'sab_box_job_font' => '',
62 'sab_box_job_font_size' => '',
63 'saboxplugin_options' => '',
64 'sab_pointers' => ''
65 );
66
67 foreach($sabox_options as $sabox_option => $value){
68 delete_option($sabox_option);
69 }
70