$85 GRAYBYTE WORDPRESS FILE MANAGER $51

SERVER : vnpttt-amd7f72-h1.vietnix.vn #1 SMP Fri May 24 12:42:50 UTC 2024
SERVER IP : 103.200.23.149 | ADMIN IP 216.73.216.22
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/home/bqrcodec/contact.kemberinc.com/wp-content/plugins/admin-menu-editor-pro/

HOME
Current File : /home/bqrcodec/contact.kemberinc.com/wp-content/plugins/admin-menu-editor-pro//uninstall.php
<?php

/**
 * @author W-Shadow
 * @copyright 2012
 *
 * The uninstallation script.
 */

if( defined( 'ABSPATH') && defined('WP_UNINSTALL_PLUGIN') ) {

	//Remove the plugin's settings
	delete_option('ws_menu_editor_pro');
	if ( function_exists('delete_site_option') ){
		delete_site_option('ws_menu_editor_pro');

		//Remove the "automatic license activation failed" flag. Most sites won't have this.
		delete_site_option('wslm_auto_activation_failed-admin-menu-editor-pro');
	}
	//Remove update metadata
	delete_option('ame_pro_external_updates');

    //Remove hint visibility flags
    if ( function_exists('delete_metadata') ) {
        delete_metadata('user', 0, 'ame_show_hints', '', true);
    }

    //Remove meta box settings.
	delete_option('ws_ame_meta_boxes');
	if ( function_exists('delete_site_option') ) {
		delete_site_option('ws_ame_meta_boxes');
	}

	//Remove dashboard widget settings.
	delete_option('ws_ame_dashboard_widgets');
	if ( function_exists('delete_site_option') ) {
		delete_site_option('ws_ame_dashboard_widgets');
	}
	if ( function_exists('delete_metadata') ) {
		delete_metadata('user', 0, 'ws_ame_dashboard_preview_cols', '', true);
	}

	//Remove tweak settings.
	delete_option('ws_ame_tweak_settings');
	delete_option('ws_ame_detected_tmce_buttons');
	delete_option('ws_ame_detected_gtb_blocks');
	if ( function_exists('delete_site_option') ) {
		delete_site_option('ws_ame_tweak_settings');
		delete_site_option('ws_ame_detected_tmce_buttons');
		delete_site_option('ws_ame_detected_gtb_blocks');
	}

	//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);
	}

	//Call the "Easy Hide" module uninstaller.
	$easyHideUninstaller = dirname(__FILE__) . '/extras/modules/easy-hide/eh-preferences-uninstall.php';
	if ( file_exists($easyHideUninstaller) ) {
		include ($easyHideUninstaller);
	}

	//Call the uninstaller for the "highlight new menus" module.
	$highlighterUninstaller = dirname(__FILE__) . '/modules/highlight-new-menus/uninstall.php';
	if ( file_exists($highlighterUninstaller) ) {
		include (dirname(__FILE__) . '/modules/highlight-new-menus/uninstall.php');
	}

	//Call the role editor uninstaller.
	$roleEditorUninstaller = dirname(__FILE__) . '/extras/modules/role-editor/uninstall.php';
	if ( file_exists($roleEditorUninstaller) ) {
		include (dirname(__FILE__) . '/extras/modules/role-editor/uninstall.php');
	}

	//Clear the stylesheet cache.
	function ws_ame_delete_transients_with_prefix($prefix) {
		//phpcs:disable WordPress.DB.DirectDatabaseQuery
		global $wpdb;

		//Delete normal transients.
		/** @noinspection SqlResolve */
		$transientOptions = $wpdb->get_col($wpdb->prepare(
			"SELECT `option_name` FROM `$wpdb->options` WHERE `option_name` LIKE %s LIMIT 500",
			$wpdb->esc_like('_transient_' . $prefix) . '%'
		));
		foreach ($transientOptions as $optionName) {
			$transientName = substr($optionName, strlen('_transient_'));
			delete_transient($transientName);
		}

		//Delete site transients.
		if ( is_multisite() ) {
			$tableName = $wpdb->sitemeta;
		} else {
			$tableName = $wpdb->options;
		}

		//PHPCS incorrectly complains about the table name not being prepared.
		//As of WP 6.1, WPDB doesn't actually provide a way to escape the table name.
		//phpcs:disable WordPress.DB.PreparedSQL.InterpolatedNotPrepared
		/** @noinspection SqlResolve */
		$siteTransientOptions = $wpdb->get_col($wpdb->prepare(
			"SELECT `option_name` FROM `$tableName` WHERE `option_name` LIKE %s LIMIT 500",
			$wpdb->esc_like('_site_transient_' . $prefix) . '%'
		));
		//phpcs:enable WordPress.DB.PreparedSQL.InterpolatedNotPrepared

		foreach ($siteTransientOptions as $siteOptionName) {
			$siteTransientName = substr($siteOptionName, strlen('_site_transient_'));
			delete_site_transient($siteTransientName);
		}
		//phpcs:enable
	}

	ws_ame_delete_transients_with_prefix('wsdst25-');

	//Remove license data (if any).
	if ( file_exists(dirname(__FILE__) . '/extras.php') ) {
		require_once dirname(__FILE__) . '/includes/basic-dependencies.php';

		require_once dirname(__FILE__) . '/extras.php';
		if ( isset($ameProLicenseManager) ) {
			$ameProLicenseManager->unlicenseThisSite();
		}
	}
}

Current_dir [ WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
18 Mar 2026 9.07 PM
bqrcodec / bqrcodec
0755
ajax-wrapper
--
2 Feb 2024 10.19 AM
bqrcodec / bqrcodec
0755
css
--
2 Feb 2024 10.19 AM
bqrcodec / bqrcodec
0755
customizables
--
2 Feb 2024 10.20 AM
bqrcodec / bqrcodec
0755
dist
--
2 Feb 2024 10.19 AM
bqrcodec / bqrcodec
0755
extras
--
2 Feb 2024 10.20 AM
bqrcodec / bqrcodec
0755
images
--
2 Feb 2024 10.19 AM
bqrcodec / bqrcodec
0755
includes
--
2 Feb 2024 10.19 AM
bqrcodec / bqrcodec
0755
js
--
2 Feb 2024 10.19 AM
bqrcodec / bqrcodec
0755
license-manager
--
2 Feb 2024 10.20 AM
bqrcodec / bqrcodec
0755
modules
--
2 Feb 2024 10.19 AM
bqrcodec / bqrcodec
0755
plugin-updates
--
2 Feb 2024 10.20 AM
bqrcodec / bqrcodec
0755
wp-dependency-wrapper
--
2 Feb 2024 10.20 AM
bqrcodec / bqrcodec
0755
extras.php
81.291 KB
2 Feb 2024 10.20 AM
bqrcodec / bqrcodec
0644
menu-editor.php
0.885 KB
2 Feb 2024 10.19 AM
bqrcodec / bqrcodec
0644
package-lock.json
143.518 KB
2 Feb 2024 10.20 AM
bqrcodec / bqrcodec
0644
package.json
0.428 KB
2 Feb 2024 10.19 AM
bqrcodec / bqrcodec
0644
phpcs.xml
3.237 KB
2 Feb 2024 10.20 AM
bqrcodec / bqrcodec
0644
readme.txt
77.493 KB
2 Feb 2024 10.20 AM
bqrcodec / bqrcodec
0644
requirement-notes.md
0.294 KB
2 Feb 2024 10.19 AM
bqrcodec / bqrcodec
0644
tsconfig.json
0.193 KB
2 Feb 2024 10.20 AM
bqrcodec / bqrcodec
0644
uninstall.php
4.441 KB
2 Feb 2024 10.19 AM
bqrcodec / bqrcodec
0644
webpack.config.js
2.563 KB
17 Mar 2024 1.46 AM
bqrcodec / bqrcodec
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME
Static GIF