# top-10/1.1/uninstall.php

WebberZone Top 10 — Popular Posts, version 1.1. 12 lines.

- Page: https://pluginprobe.com/plugins/top-10/1.1/code/uninstall.php
- Raw: https://pluginprobe.com/plugins/top-10/1.1/raw/uninstall.php
- Modified: 2009-02-16T07:44:20+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/top-10/1.1/code/uninstall.php#L10-L20`.

```php
<?php
if ( !defined('ABSPATH') && !defined('WP_UNINSTALL_PLUGIN') ) {
    exit();
}
	global $wpdb;
   	$table_name = $wpdb->prefix . "top_ten";

	$sql = "DROP TABLE $table_name";
	$wpdb->query($sql);
	delete_option('ald_tptn_settings');
	delete_option('tptn_db_version');
?>
```
