<?php
/**
 * Plugin deactivator.
 *
 * @package GoValid_QR
 */

defined( 'ABSPATH' ) || exit;

class GoValid_QR_Deactivator {

	/**
	 * Run on plugin deactivation.
	 */
	public static function deactivate(): void {
		wp_clear_scheduled_hook( 'govalid_qr_cache_cleanup' );
		flush_rewrite_rules( false );
	}
}
