This repository has been archived on 2026-10-23. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
studio-2012/wp-content/plugins/tweet-blender/uninstall.php
T
2012-05-14 21:56:45 +02:00

19 lines
362 B
PHP

<?php
// make sure we are called during the Deactivate process
if( !defined( 'ABSPATH') && !is_admin() ) {
exit();
}
// include WP functions
require_once(ABSPATH . "/wp-blog-header.php");
// remove table
global $wpdb;
$table_name = $wpdb->prefix . "tweetblender";
$wpdb->query("DROP TABLE $table_name");
// remove options
delete_option('tweet-blender');
?>