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

Start free trial

MailerPress Pro Delete WordPress Email Template

mailerpress-pro/delete-wordpress-email-template removes the MailerPress override for a WordPress email type, so WordPress falls back to its own template. It requires confirm_type matching the type.

The email still sends. It just stops being yours.

Before you run it

The email keeps sending — it reverts to WordPress’s plain default rather than stopping — so the visible result is a branded email becoming an unbranded one, which nobody on the site notices and every recipient does. The campaign itself is not deleted; only the link between the email type and the campaign.

At a glance

Abilitymailerpress-pro/delete-wordpress-email-template
ToolsetMailerPress Pro — toolset/mailerpress-pro
GroupMailerPress Pro › WordPress Emails
RequiresAcrossAI Pro, plus MailerPress with its Pro add-on active on the site
Capabilitymanage_options
SafetyDestructive — removes the override so WordPress falls back to its own template. Requires confirm_type.
RepeatableIdempotent — running it twice leaves the same result
Ships inAcrossAI Pro 0.9.16 and later

How it works

This is the mildest destructive operation in the suite, and its classification is about the visible outcome rather than data loss: recipients start getting a plain WordPress email where they were getting a branded one.

Setting the status to default through mailerpress-pro/save-wordpress-email-template achieves the same fallback while keeping the configuration, which makes it reversible in one call. Deleting removes the link entirely.

The campaign is untouched either way. It remains in MailerPress and can be re-attached.

The practical difference is bookkeeping: a deleted override leaves no record that the type was ever customised, which on a site with a dozen overrides is the difference between “somebody turned this off” and “this was never set up”.

Idempotent.

Input

NameTypeRequiredWhat it is
typestringYesThe WordPress email type.
confirm_typestringYesMust match type.
confirmbooleanYes — must be trueThe irreversibility gate. Without it the call is refused before anything is touched.

What comes back

NameTypeWhat it is
typestringThe type reverted.
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:

Stop using our template for the new-user email.

It resolves to one call:

{
  "ability": "mailerpress-pro/delete-wordpress-email-template",
  "parameters": {
    "type": "new-user",
    "confirm_type": "new-user",
    "confirm": true
  }
}

Worth knowing

  • The email still sends, unbranded.
  • Setting the status to default is the reversible equivalent.
  • The campaign is not deleted.
  • Idempotent.

Related abilities


Get the plugins:
AcrossAI Abilities Manager · AcrossAI MCP Manager

Browse the rest: Every ability, by category


Keep reading