
It has always been so easy to register but not to unregister. Let your users delete their account from the frontend with WP Frontend Delete Account Plugin.
GDPR’s right to be forgotten states that the customers can request to erase the data if they think the data are stored unnecessarily or they no longer consent to processing.
Would you like to track your customer’s journey throughout your site? Get Customer Journey For WooCommerce plugin now.
Customer Journey For WooCommerce
Installation and setup
1) Go to your site dashboard > Plugins > Add New. Search for “WP Frontend Delete Account”.

2) Install and Activate the “WP Frontend Delete Account” plugin.
3) For WooCommerce sites, the ‘Delete Account’ tab will appear in the my account page which allows users to delete their account. If you have not already added a my account page, You can add my account page for WooCommerce with shortcode [woocommerce_my_account]. That’s it.
Did you know? You can add a new custom tab in WooCommerce my account page.

4) For non-store sites, you can add the Delete Account content in any page, posts or widget with the built-in gutenberg block. Just add a block and search for “WP Frontend Delete Account”

5) If you are using classic editor, you can use the shortcode [wp_frontend_delete_account]
.
Settings
While the plugin works out of the box by default, there are some settings you’d probably like to customize. The settings for the WP Frontend Delete Account plugin can be found under Settings > WP Frontend Delete Account.
General Settings

1) Delete Comments: Enable the option to delete the comments by the users when the users delete themselves.
2) Title: The label for Delete Account tag.
3) Button Label: The label for the confirmation button.
4) Redirect URL: Set where to redirect users after they deleted their account. Leave empty for same page redirect.
5) Attribute all contents to: You can opt-in to attribute all the contents of the deleted users to another user you’d want.
6) Security method before deleting: Choose a method to make sure that the deletion is intended. Generally, a password confirmation before deleting an account is a good option.
Email Settings

The emails sent from the WP Frontend Delete Account plugin can be customized from these settings.
The emails sent are:
1) Admin Email: Email notification sent to the admin if user deleted their account on their own.
2) User Email: Email notification sent to the user after their account has been deleted.
3) Feedback Email: Email notification sent to the admin when the user leaves feedback upon deleting their account.
4) Weekly Summary Email: Email notification sent to the admin about the total number of users deleted in a week. {number}, {previous_number} and {total} represents the number of users deleted this past week, the previous week, and the total number respectively.
FAQ
1) I see a 404 page not found while clicking the delete account tab?
You might need to refresh the permalinks. Navigate to Settings->Permalinks and Save.
2) I accidentally deleted my own account. I am the owner of the site.
There is no way to recover the deleted user because the data is permanently deleted from the database. If you’re locked out of your own site, you’ll need to create a new user and get access to site.
3) How to add the delete account option in the PHP template file?
Using the code snippet below:
<?php
do_shortcode( ['wp_frontend_delete_account'] );
Thank You,
Did you know? 81.9% of people use dark mode on their phones. Get Dark Mode Plugin for WordPress now and take care of your visitor’s eyes.
WP DARK MODE
Pingback:Force User To Logout With WPForce Logout Plugin - Sanjeeb Aryal