| Server IP : 172.67.201.108 / Your IP : 216.73.216.25 Web Server : Apache/2.4.68 (Amazon Linux) OpenSSL/3.5.5 System : Linux ip-172-31-69-123.ec2.internal 6.1.176-223.369.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Jul 24 13:34:27 UTC 2026 x86_64 User : ec2-user ( 1000) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/home2/domains/siparent/wp-content/plugins/admin-menu-editor/ |
Upload File : |
<?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);
}
}