30 days free. No credit card. Full access from the moment you connect your site.

Start free trial

Delete Elementor Pro Form Submission

elementor/delete-form-submission permanently deletes an Elementor Pro Form submission and its associated field values. It refuses without confirm: true.

Requires Elementor Pro. Without it the ability reports that plainly rather than failing obscurely.

Before you run it

This is permanent and there is no trash. The submission and every field value go together, and a submission is frequently the only record that somebody made contact — deleting one can remove the only evidence of an enquiry, an order request or a complaint. Read it first if there is any chance it matters.

At a glance

Abilityelementor/delete-form-submission
ToolsetElementor — toolset/elementor
GroupElementor › Form Submissions
RequiresElementor, active on the site
Capabilitymanage_options
SafetyDestructive — deletes stored values, and refuses to run without confirm: true
RepeatableNot idempotent — each call changes the row set, so re-running is not a no-op
Ships inAcrossAI Abilities Manager 0.0.34 and later

How it works

The legitimate reason is a data subject request: somebody asks for their data to be removed, and a form submission holding their name and email is exactly the data they mean.

The other legitimate reason is retention. Submissions accumulate forever, and holding personal data longer than there is a reason to is a liability rather than an asset.

The illegitimate reason is tidying. A submission is a record of contact, and there is no trash — once deleted, there is no way to establish that somebody got in touch.

Field values are deleted alongside the submission rather than orphaned, which is what you want for a deletion request: the values are the personal data.

Not idempotent, though deleting an ID that is already gone is reported rather than silently succeeding.

Input

NameTypeRequiredWhat it is
submission_idintegerYesThe submission to delete.
confirmbooleanYes — must be trueThe irreversibility gate. Without it the call is refused before anything is touched.

What comes back

NameTypeWhat it is
deleted_idintegerThe submission removed.
successbooleanWhether the call completed.
messagestringA one-line summary of what happened, suitable for showing a human.
error_codestringPresent only on failure — a stable machine-readable reason, such as a missing field, a wrong field type or an unmet confirmation.

Example

Ask your assistant:

Delete submission 8801 — they asked us to remove their data.

It resolves to one call:

{
  "ability": "elementor/delete-form-submission",
  "parameters": {
    "submission_id": 8801,
    "confirm": true
  }
}

Worth knowing

  • Permanent. There is no trash for submissions.
  • Field values go with it, which is what a deletion request needs.
  • A submission may be the only record that somebody made contact.
  • Requires Elementor Pro.

Related abilities


Get the plugins:
AcrossAI Abilities Manager · AcrossAI MCP Manager

Browse the rest: Every ability, by category


Keep reading