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
| Ability | mailerpress-pro/delete-wordpress-email-template |
| Toolset | MailerPress Pro — toolset/mailerpress-pro |
| Group | MailerPress Pro › WordPress Emails |
| Requires | AcrossAI Pro, plus MailerPress with its Pro add-on active on the site |
| Capability | manage_options |
| Safety | Destructive — removes the override so WordPress falls back to its own template. Requires confirm_type. |
| Repeatable | Idempotent — running it twice leaves the same result |
| Ships in | AcrossAI 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
| Name | Type | Required | What it is |
|---|---|---|---|
type | string | Yes | The WordPress email type. |
confirm_type | string | Yes | Must match type. |
confirm | boolean | Yes — must be true | The irreversibility gate. Without it the call is refused before anything is touched. |
What comes back
| Name | Type | What it is |
|---|---|---|
type | string | The type reverted. |
success | boolean | Whether the call completed. |
message | string | A one-line summary of what happened, suitable for showing a human. |
error_code | string | Present 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
defaultis the reversible equivalent. - The campaign is not deleted.
- Idempotent.
Related abilities
- MailerPress Pro Save WordPress Email Template — the reversible way
- MailerPress Pro List WordPress Email Templates — confirm the current state
Get the plugins:
AcrossAI Abilities Manager · AcrossAI MCP Manager
Browse the rest: Every ability, by category