HEX
Server: nginx/1.22.0
System: Linux iZuf6jdxbygmf6cco977lcZ 5.10.84-10.4.al8.x86_64 #1 SMP Tue Apr 12 12:31:07 CST 2022 x86_64
User: root (0)
PHP: 7.4.29
Disabled: passthru,exec,system,chroot,chgrp,chown,shell_exec,proc_open,proc_get_status,ini_alter,ini_restore,dl,readlink,symlink,popepassthru,stream_socket_server,fsocket,popen
Upload Files
File: /data/wwwroot/wordpress/wp-content/plugins/admin-menu-editor/uninstall.php
<?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');
	}
}