<?php
/**
 * Uninstall handler — runs when the plugin is deleted via wp-admin.
 *
 * Dual-layer cleanup (see SEOvaultSEO\Core\Uninstaller):
 * - Always: remove API credentials, auth/rate-limit transients, and cron events.
 * - Only when "Erase all data on uninstall" is enabled: wipe SEO settings, meta,
 *   custom tables, CPT content, uploads cache, and related files
 *   (includes seovaultseo_notfound_* fallback/recovery options; never deletes
 *   user-created pages referenced by those settings).
 *
 * @package SEOvaultSEO
 */

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

require_once __DIR__ . '/includes/Core/Uninstaller.php';

\SEOvaultSEO\Core\Uninstaller::run();
