HEX
Server: Apache
System: Linux web2046c1.megawebservers.com 5.14.0-570.37.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Aug 28 10:41:06 UTC 2025 x86_64
User: absolutespace.ca (53202)
PHP: 7.4.33
Disabled: apache_get_modules,apache_get_version,disk_free_space,phpinfo,exec,shell_exec,passthru,system,proc_nice
Upload Files
File: /services/webpages/a/b/absolutespace.ca/public/wp-content/plugins/essential-grid/uninstall.php
<?php
/**
 * Fired when the plugin is uninstalled.
 *
 * @package   Essential_Grid
 * @author    ThemePunch <info@themepunch.com>
 * @link      http://www.themepunch.com/essential/
 * @copyright 2014 ThemePunch
 */

// If uninstall not called from WordPress, then exit
if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
	exit;
}


require_once plugin_dir_path( __FILE__ ) . '/public/essential-grid.class.php';

Essential_Grid::uninstall_plugin(true);

/*
global $wpdb;

//Delete Database Tables
$wpdb->query( "DROP TABLE ". $wpdb->prefix . Essential_Grid::TABLE_GRID);
$wpdb->query( "DROP TABLE ". $wpdb->prefix . Essential_Grid::TABLE_ITEM_SKIN);
$wpdb->query( "DROP TABLE ". $wpdb->prefix . Essential_Grid::TABLE_ITEM_ELEMENTS);
$wpdb->query( "DROP TABLE ". $wpdb->prefix . Essential_Grid::TABLE_NAVIGATION_SKINS);

//Delete Options
delete_option('tp_eg_role');
delete_option('tp_eg_grids_version');
delete_option('tp_eg_custom_css');

delete_option('tp_eg_output_protection');
delete_option('tp_eg_tooltips');
delete_option('tp_eg_wait_for_fonts');
delete_option('tp_eg_js_to_footer');
delete_option('tp_eg_use_cache');
delete_option('tp_eg_enable_log');

delete_option('tp_eg_update-check');
delete_option('tp_eg_update-check-short');
delete_option('tp_eg_latest-version');
delete_option('tp_eg_code');
delete_option('tp_eg_username');
delete_option('tp_eg_api-key');
delete_option('tp_eg_valid');
delete_option('tp_eg_valid-notice');

delete_option('esg-widget-areas');
*/