We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 080b562 commit a120c89Copy full SHA for a120c89
.changeset/tall-wasps-bathe.md
@@ -0,0 +1,5 @@
1
+---
2
+"@wpengine/hwp-previews-wordpress-plugin": patch
3
4
+
5
+Add optional data cleanup on uninstall via HWP_PREVIEWS_UNINSTALL_PLUGIN constant
plugins/hwp-previews/uninstall.php
@@ -17,7 +17,7 @@
17
18
// Only proceed if the uninstall constant is defined.
19
if ( ! defined( 'HWP_PREVIEWS_UNINSTALL_PLUGIN' ) || ! HWP_PREVIEWS_UNINSTALL_PLUGIN ) {
20
- exit;
+ return;
21
}
22
23
// Define constants if not already defined.
0 commit comments