summaryrefslogtreecommitdiffstats
path: root/uninstall.php
diff options
context:
space:
mode:
Diffstat (limited to 'uninstall.php')
-rw-r--r--uninstall.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/uninstall.php b/uninstall.php
new file mode 100644
index 0000000..a01d2bf
--- /dev/null
+++ b/uninstall.php
@@ -0,0 +1,10 @@
+<?php
+//if uninstall not called from WordPress exit
+if ( !defined( 'WP_UNINSTALL_PLUGIN' ) )
+ exit();
+
+$options = 'dnxcf_options';
+
+delete_option( $options );
+
+?> \ No newline at end of file