elementor/update-maintenance-mode enables or disables Elementor maintenance mode, sets the mode and the template, and configures the exclude rules.
Turning it on takes the site away from visitors, immediately.
At a glance
| Ability | elementor/update-maintenance-mode |
| Toolset | Elementor — toolset/elementor |
| Group | Elementor › System & Maintenance |
| Requires | Elementor, active on the site |
| Capability | manage_options |
| Safety | Writes data |
| Repeatable | Idempotent — running it twice leaves the same result |
| Ships in | AcrossAI Abilities Manager 0.0.34 and later |
How it works
Choose the mode by how long it will last. Maintenance returns 503 and is right for a genuine temporary outage; Coming Soon returns 200 and is right for a site that has not launched — where being indexed as a coming-soon page is at worst harmless.
Using Coming Soon for a temporary outage is the mistake with consequences: search engines treat a 200 as the page’s real content, and a week of that can cost rankings that take longer to recover.
The template must exist and must be published. A maintenance mode pointing at a trashed template shows visitors nothing at all, which is a worse outage than the one being managed.
The exclude rules are what let anybody work while it is on. Without them, whoever turned it on is also locked out of the front end.
That is also why it gets forgotten: the people who could notice are excluded. Check elementor/get-maintenance-mode on any site behaving oddly for visitors and normally for you.
Idempotent.
Input
| Name | Type | Required | What it is |
|---|---|---|---|
mode | string | Yes | maintenance, coming_soon, or off. |
template_id | integer | When enabling | The template to show visitors. |
exclude | object | No | Who still sees the real site. |
What comes back
| Name | Type | What it is |
|---|---|---|
mode | string | The mode afterwards. |
template_id | integer | The template in use. |
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:
Put the site into maintenance mode.
It resolves to one call:
{
"ability": "elementor/update-maintenance-mode",
"parameters": {
"mode": "maintenance",
"template_id": 640
}
}Worth knowing
- Maintenance for outages, Coming Soon for pre-launch. The status code is the difference.
- The template must exist and be published, or visitors see nothing.
- Without exclude rules you lock yourself out of the front end too.
- Easy to leave on, because the people who would notice are excluded.
Related abilities
- Get Elementor Maintenance Mode — check the current state
- Create Elementor Template — build the page visitors see
Get the plugins:
AcrossAI Abilities Manager · AcrossAI MCP Manager
Browse the rest: Every ability, by category