diff options
Diffstat (limited to 'uninstall.php')
| -rw-r--r-- | uninstall.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/uninstall.php b/uninstall.php new file mode 100644 index 0000000..dae27f9 --- /dev/null +++ b/uninstall.php @@ -0,0 +1,9 @@ +<?php +//if uninstall not called from WordPress exit +if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) + exit(); + +// delete our metadata for all users +delete_metadata( 'user', 0, 'dnxasi_meta_signature', '', true ); +// delete options for our plugin from the options table +delete_option( 'dnxasi_settings' ); |
