<?php
/**
 * Uninstall script for CurrencyRate.Today - Currency Blocks and Widgets.
 */

declare(strict_types=1);

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

$crtoday_plugin_dir = plugin_dir_path(__FILE__);
require_once $crtoday_plugin_dir . 'includes/class-crtoday-plugin-settings.php';
require_once $crtoday_plugin_dir . 'includes/class-crtoday-review-banner.php';
require_once $crtoday_plugin_dir . 'includes/class-crtoday-storage-installer.php';

CRToday_Plugin_Settings::delete_all_plugin_data();
CRToday_Review_Banner::delete_all_data();
CRToday_Storage_Installer::drop_tables();
