Notifications > Data on uninstall. // Installs that never stored the choice (older versions) keep the earlier behaviour and clean up. $keepwatch_settings = get_option( 'keepwatch_settings' ); if ( is_array( $keepwatch_settings ) && array_key_exists( 'delete_data', $keepwatch_settings ) && ! $keepwatch_settings['delete_data'] ) { return; } foreach ( array( 'keepwatch_install_uuid', 'keepwatch_db_version', 'keepwatch_errors', 'keepwatch_changes', 'keepwatch_versions', 'keepwatch_settings', 'keepwatch_security_events', 'keepwatch_critical_fingerprint', 'keepwatch_installed_at', 'keepwatch_connection', 'keepwatch_outbox', 'keepwatch_remote_config', 'keepwatch_wpx_keys', 'keepwatch_wpx_license', 'keepwatch_envato', ) as $keepwatch_option ) { delete_option( $keepwatch_option ); }