elementor/get-maintenance-mode returns the current Elementor maintenance mode settings: the mode, the active template and the exclude rules.
Worth reading before wondering why a site is showing something unexpected to visitors.
At a glance
| Ability | elementor/get-maintenance-mode |
| Toolset | Elementor — toolset/elementor |
| Group | Elementor › System & Maintenance |
| Requires | Elementor, active on the site |
| Capability | manage_options |
| Safety | Read-only — changes nothing |
| Repeatable | Idempotent — running it twice leaves the same result |
| Ships in | AcrossAI Abilities Manager 0.0.34 and later |
How it works
Elementor offers two modes and they differ in one important respect. Coming Soon returns a normal 200 status; Maintenance returns 503, which tells search engines the outage is temporary and not to drop the pages.
Choosing the wrong one has real consequences: a site left in Coming Soon for weeks is a site serving a placeholder page with a success status, which search engines index as the site’s content.
The exclude rules decide who sees the real site — usually logged-in users or a specific role. That is also why maintenance mode is easy to leave on: the people who would notice are excluded from it.
The template is the page visitors get, and it is an Elementor template like any other. A maintenance mode pointing at a template that has been deleted shows a blank page.
Read-only.
Input
This ability takes no input.
What comes back
| Name | Type | What it is |
|---|---|---|
mode | string | maintenance, coming_soon or off. |
template_id | integer | The template shown to visitors. |
exclude | object | Who still sees the real site. |
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:
Is this site in maintenance mode?
It resolves to one call:
{
"ability": "elementor/get-maintenance-mode",
"parameters": {}
}Worth knowing
- Maintenance returns 503; Coming Soon returns 200 and gets indexed.
- The people who would notice it is on are usually excluded from it.
- A deleted template produces a blank page for visitors.
- Read-only.
Related abilities
- Update Elementor Maintenance Mode — change it
- List Elementor Templates — check the template still exists
Get the plugins:
AcrossAI Abilities Manager · AcrossAI MCP Manager
Browse the rest: Every ability, by category