Skip to main content

Profile Delete Form

Profile Delete Form

Renders a button that lets the currently logged-in user delete their own account after a confirmation popup.

Deletion is permanent

A confirmed deletion removes the account immediately via WordPress's standard user deletion. Content authored by the user is not reassigned.

Profile Delete Form module in Beaver Builder with the settings panel open

Usage

Self-service account removal — Give users a way to delete their account without contacting support, commonly required for privacy compliance. See How to Let Users Delete Their Account.

How it works

SituationBehaviour
User clicks the delete buttonA confirmation popup appears; nothing changes yet.
User cancelsThe popup closes; the account is untouched.
User confirmsThe account is deleted, the completion message shows, then the configured after-deletion behaviour runs.
Request fails its security check or no user is logged inThe request is rejected and no deletion occurs.

Settings

General

SettingDescription
Custom Title / TagOptional heading rendered above the button.
Button textThe delete button label ("Delete" by default).
Confirm deletion messageThe confirmation question ("Are you sure?" by default).
Confirm deletion buttonLabel of the confirm button.
Cancel buttonLabel of the cancel button.
Post deletion textLabel of the close button shown after deletion (Button behaviour only).

After deletion

SettingDescription
Post deletion behaviorWhat happens after deletion: None, Button (a close button linking to a target page), or Redirection (automatic redirect).
Post deletion targetThe destination: the home page or any published page.