You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
403 B

<?php
// if not called from WordPress exit
if ( ! defined('WP_UNINSTALL_PLUGIN') ) {
exit();
}
// By default, WP Statistics leaves all data in the database, however a user can select to
// remove it, in which case the wp_statistics_removal option is set and we should remove that
// here in case the user wants to re-install the plugin at some point.
delete_option('wp_statistics_removal');