<?php
/**
 * Uninstall Product Compare Kav
 * 
 * This file is executed when the plugin is deleted from WordPress.
 */

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

// Delete plugin options
delete_option('product_compare_kav_options');

// Delete any transients
delete_transient('product_compare_kav_cache');

// Clear any cached data that has been removed
wp_cache_flush();

// Note: We don't delete user cookies as they are client-side
// and will expire naturally or be overwritten