danix
's git repository
home
/
my projects
/
danixland-covid-italy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added uninstall functionality to remove all transient data stored in the
[danixland-covid-italy.git]
/
uninstall.php
diff --git
a/uninstall.php
b/uninstall.php
index
77db867
..
f1acff6
100644
(file)
--- a/
uninstall.php
+++ b/
uninstall.php
@@
-29,3
+29,11
@@
if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
exit;
}
+
+/*
+ * Delete all transient data saved by the plugin
+ * @since 1.1
+ *
+ * @package Dnxcovita
+ */
+delete_transient( 'dnxcovita_data' );