<?php /** * @author W-Shadow * @copyright 2015 * * The uninstallation script. */ if( defined( 'ABSPATH') && defined('WP_UNINSTALL_PLUGIN') ) { //Remove the plugin's settings delete_option('ws_menu_editor'); if ( function_exists('delete_site_option') ){ delete_site_option('ws_menu_editor'); } //Remove hint visibility flags if ( function_exists('delete_metadata') ) { delete_metadata('user', 0, 'ame_show_hints', '', true); } //Remove module settings. delete_option('ws_ame_plugin_visibility'); delete_option('ws_ame_dashboard_widgets'); if ( function_exists('delete_site_option') ){ delete_site_option('ws_ame_plugin_visibility'); delete_site_option('ws_ame_hide_pv_notice'); delete_site_option('ws_ame_dashboard_widgets'); } //Remove redirect settings. delete_option('ws_ame_redirects'); if ( function_exists('delete_site_option') ) { delete_site_option('ws_ame_redirects'); delete_site_option('ws_ame_rui_first_change'); } if ( function_exists('delete_metadata') ) { delete_metadata('user', 0, 'ame_rui_first_login_done', '', true); } }
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
ajax-wrapper | Folder | 0755 |
|
|
css | Folder | 0755 |
|
|
customizables | Folder | 0755 |
|
|
images | Folder | 0755 |
|
|
includes | Folder | 0755 |
|
|
js | Folder | 0755 |
|
|
modules | Folder | 0755 |
|
|
menu-editor.php | File | 1.01 KB | 0644 |
|
phpcs.xml | File | 2.96 KB | 0644 |
|
readme.txt | File | 26.77 KB | 0644 |
|
screenshot-1.png | File | 33.21 KB | 0644 |
|
screenshot-2.png | File | 7.43 KB | 0644 |
|
screenshot-3.png | File | 5.56 KB | 0644 |
|
tsconfig.json | File | 124 B | 0644 |
|
uninstall.php | File | 1.11 KB | 0644 |
|