# simpleanalytics/1.16/uninstall.php

Simple Analytics, version 1.16. 18 lines.

- Page: https://pluginprobe.com/plugins/simpleanalytics/1.16/code/uninstall.php
- Raw: https://pluginprobe.com/plugins/simpleanalytics/1.16/raw/uninstall.php
- Modified: 2019-06-12T13:53:14+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/simpleanalytics/1.16/code/uninstall.php#L10-L20`.

```php
<?php

/**
 * 
 * This file runs when the plugin in uninstalled (deleted).
 * This will not run when the plugin is deactivated.
 * Ideally you will add all your clean-up scripts here
 * that will clean-up unused meta, options, etc. in the database.
 *
 */

// If plugin is not being uninstalled, exit (do nothing)
if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
	exit;
}

// Do something here if plugin is being uninstalled.

```
