# top-10/1.3/uninstall.php

WebberZone Top 10 — Popular Posts, version 1.3. 15 lines.

- Page: https://pluginprobe.com/plugins/top-10/1.3/code/uninstall.php
- Raw: https://pluginprobe.com/plugins/top-10/1.3/raw/uninstall.php
- Modified: 2009-03-12T07:30:04+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.3/code/uninstall.php#L10-L20`.

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