From f9409a6ef812866f4de43523f24aca7798b70e46 Mon Sep 17 00:00:00 2001 From: Git Manager GUI Date: Mon, 13 Apr 2026 18:52:52 +0200 Subject: [PATCH] Upload via Git Manager GUI --- uninstall.php | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 uninstall.php diff --git a/uninstall.php b/uninstall.php new file mode 100644 index 0000000..bad0e5a --- /dev/null +++ b/uninstall.php @@ -0,0 +1,8 @@ +query("DROP TABLE IF EXISTS {$wpdb->prefix}wmf_submissions"); +foreach(get_posts(array('post_type'=>'wmf-form','post_status'=>'any','numberposts'=>-1,'fields'=>'ids')) as $id) wp_delete_post($id,true); +delete_option('_wmf_service_credentials'); +delete_option('wmf_settings'); +delete_option('wmf_db_version');