<?php
/**
 * Uninstall script for Turbo Starter Templates
 */

if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
    exit;
}

// Delete options
// No license options to delete - all features are free

// Delete transients
delete_transient( 'turbo_templates_list' );

// Delete user meta (if any)
delete_metadata( 'user', 0, 'turbo_templates_dismissed_notices', '', true );

// Clean up any custom tables (if we had any)
// global $wpdb;
// $wpdb->query( "DROP TABLE IF EXISTS {$wpdb->prefix}turbo_templates" );

// Clear any cached data
wp_cache_flush();
