<?php
/**
 * Uninstall script for Coming Soon Pro — Maintenance Mode
 *
 * @package MDXCSP_Coming_Soon_Pro
 */

// Prevent direct access.
if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
	exit;
}

// Define options to delete on uninstall.
$options_to_delete = array(
	'mdxcsp_enable_coming_soon',
	'mdxcsp_selected_template',
	'mdxcsp_template_settings',
);

// Delete options.
foreach ( $options_to_delete as $option ) {
	delete_option( $option );
}

// Clear any cached data.
wp_cache_flush();