<?php

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

/**
 * Remove various options used in the plugin.
 */
function monsterinsights_uninstall_remove_options() {

	// Remove usage tracking options.
	delete_option( 'monsterinsights_usage_tracking_config' );
	delete_option( 'monsterinsights_usage_tracking_last_checkin' );

	// Remove version options.
	delete_option( 'monsterinsights_db_version' );
	delete_option( 'monsterinsights_version_upgraded_from' );

	// Remove other options used for display.
	delete_option( 'monsterinsights_email_summaries_infoblocks_sent' );
	delete_option( 'monsterinsights_float_bar_hidden' );
	delete_option( 'monsterinsights_frontend_tracking_notice_viewed' );
	delete_option( 'monsterinsights_admin_menu_tooltip' );
	delete_option( 'monsterinsights_review' );

	// Delete addons transient.
	delete_transient( 'monsterinsights_addons' );

}
