mailerpress-pro/delete-woocommerce-email-template removes the MailerPress override for a WooCommerce email type, so WooCommerce falls back to its own template. It requires confirm_type matching the type.
The email keeps sending.
Before you run it
The email keeps sending and reverts to WooCommerce’s own template, so customers get a functional but unbranded email. The campaign is not deleted — only the link between the email type and the campaign. Setting the status to default achieves the same fallback reversibly.
At a glance
| Ability | mailerpress-pro/delete-woocommerce-email-template |
| Toolset | MailerPress Pro — toolset/mailerpress-pro |
| Group | MailerPress Pro › WooCommerce Emails |
| Requires | AcrossAI Pro, plus MailerPress with its Pro add-on active on the site |
| Capability | manage_options |
| Safety | Destructive — removes the override so WooCommerce 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
WooCommerce’s own templates are perfectly functional — they contain the order details and they deliver. What they are not is branded, so the visible change is a customer receiving a WooCommerce-styled email from a shop that had been sending its own.
That is usually the intent when somebody removes an override, and it is occasionally an accident nobody notices from inside, because nobody on the site receives these emails.
The reversible equivalent is setting the status to default through the save ability, which keeps the configuration and can be switched back in one call.
The campaign remains in MailerPress either way and can be re-attached.
Requires WooCommerce to be active.
Idempotent.
Input
| Name | Type | Required | What it is |
|---|---|---|---|
type | string | Yes | The WooCommerce 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:
Go back to WooCommerce’s own order email.
It resolves to one call:
{
"ability": "mailerpress-pro/delete-woocommerce-email-template",
"parameters": {
"type": "customer_completed_order",
"confirm_type": "customer_completed_order",
"confirm": true
}
}Worth knowing
- The email still sends, in WooCommerce’s own styling.
- Nobody on the site receives these, so the change is invisible internally.
defaultstatus is the reversible equivalent.- Requires WooCommerce active.
Related abilities
- MailerPress Pro Save WooCommerce Email Template — the reversible way
- MailerPress Pro Send Test WooCommerce Email — see what customers now get
Get the plugins:
AcrossAI Abilities Manager · AcrossAI MCP Manager
Browse the rest: Every ability, by category