WordPress plugin
WP Frontend Delete Account Pro: WooCommerce, Roles & Endpoint
WP Frontend Delete Account Pro gives customers a way to delete their own accounts from the site frontend. Choose a placement that fits the website: the extension adds a Delete Account tab to WooCommerce's My Account page; other sites can use the [wp_frontend_delete_account] shortcode or built-in Gutenberg block. Pro also includes an Elementor widget.
WP Frontend Delete Account Pro gives customers a way to delete their own accounts from the site frontend. Choose a placement that fits the website: the extension adds a Delete Account tab to WooCommerce's My Account page; other sites can use the [wp_frontend_delete_account] shortcode or built-in Gutenberg block. Pro also includes an Elementor widget.
Choose how visitor content is handled
Posts belonging to a deleted user can be reassigned, and an option lets you delete that user's comments. Review these outcomes before making the deletion option available, since they determine what happens to associated content.
Set role access and the endpoint
Pro lets you exclude selected user roles from frontend account deletion and customize the endpoint, identified as wpf-delete-account. These settings can help limit access and fit the endpoint to the site's configuration.
Install and review the deletion flow
Install and activate the extension, then use the WooCommerce tab or add the shortcode, Gutenberg block, or Elementor widget to the intended frontend location. Review post and comment handling, configure the endpoint and excluded roles as needed, and test with an appropriate account before exposing the option. The plugin FAQ states that an accidentally deleted site-owner account cannot be recovered.
User data erasure
The plugin supports a user-data erasure workflow relevant to GDPR. Site owners should review their own requirements and consult legal counsel familiar with GDPR where appropriate.