X-Git-Url: https://git.danix.xyz/?p=danixland-covid-italy.git;a=blobdiff_plain;f=uninstall.php;h=f1acff6cd1c9b28733115669755d268f2295580c;hp=db3ef816241c698bccb98ef4345988f94f45c31a;hb=HEAD;hpb=72b5b457ac6d78e76548e8a736d1673c390aca9e diff --git a/uninstall.php b/uninstall.php index db3ef81..f1acff6 100644 --- a/uninstall.php +++ b/uninstall.php @@ -19,13 +19,21 @@ * For more information, see the following discussion: * https://github.com/tommcfarlin/WordPress-Plugin-Boilerplate/pull/123#issuecomment-28541913 * - * @link https://danix.xyz - * @since 0.0.1 + * @link https://danix.xyz + * @since 0.0.1 * - * @package Dnxcovita + * @package Dnxcovita */ // If uninstall not called from WordPress, then exit. if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) { exit; } + +/* + * Delete all transient data saved by the plugin + * @since 1.1 + * + * @package Dnxcovita + */ +delete_transient( 'dnxcovita_data' );