=== ByeUser - Self Service Account Deletion ===
Contributors: mofmof7
Tags: account, delete, user, profile, gdpr
Requires at least: 6.0
Tested up to: 6.9
Stable tag: 1.1.1
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

ByeUser - Self Service Account Deletion allows users to delete their own accounts via shortcode or profile page.

== Description ==

ByeUser - Self Service Account Deletion allows logged-in users to delete their own accounts from the front-end (via shortcode) or the profile page.
It supports WooCommerce customer accounts and provides flexible configuration options for administrators.

**Features:**

*   **Shortcode Support:** Use `[byeuser_self_delete_account]` to display a delete button anywhere.
*   **Profile Page Integration:** Option to add a delete button to the profile page.
*   **WooCommerce Support:** Add delete links to the WooCommerce My Account dashboard or account details tab.
*   **Confirmation Steps:** Choose between a simple JavaScript confirmation or a password re-entry requirement.
*   **Role Management:** Specify which user roles are allowed to delete their accounts.
*   **Data Handling:** Choose whether to delete the user's posts or reassign them to an administrator.
*   **Notifications:** Send email notifications to the user and/or administrator upon account deletion.
*   **Custom Redirection:** Set a custom URL to redirect users after deletion.

== Installation ==

1.  Upload the plugin files to the `/wp-content/plugins/byeuser-self-service-account-deletion` directory, or install the plugin through the plugins screen directly.
2.  Activate the plugin through the 'Plugins' screen.
3.  Go to 'Settings' -> 'ByeUser Settings' to configure the plugin.

== Frequently Asked Questions ==

= Can I customize the delete button? =
Yes, you can customize the button text, class, and style via the settings page.

= What happens to the user's content? =
By default, content is reassigned to an administrator. You can change this setting to delete content instead.

== Screenshots ==

1.  Settings page
2.  Frontend delete button
3.  Popup notification

== Changelog ==

= 1.1.1 =
*   Added Japanese file.

= 1.1.0 =
*   Added frontend popup notification after deletion.
*   Added WooCommerce account details integration.
*   Improved security and code structure.

= 1.0.0 =
*   Initial release.

== Upgrade Notice ==

= 1.1.0 =
This version introduces a popup notification feature and improves security. Please update.
