Toggle Coming Soon Mode is a WordPress ability from SeedProd — usable via Easy MCP AI, which connects Claude, ChatGPT, and any AI assistant to your site.
Install Free Plugin →Toggle Coming Soon Mode
WriteTurn SeedProd's coming soon page on or off for visitors who aren't logged in.
Requires the SeedProd (coming-soon) plugin active on a WordPress install where the Abilities API's wp_register_ability function exists (WP 6.9+) — abilities are wrapped in a function_exists check and register only when it does. Individual abilities additionally require the 'manage_options' capability (get-status, toggle-coming-soon, toggle-maintenance), the 'edit_pages' capability (list-pages, get-page), or the capability returned by the 'seedprod_lpage_capability' filter, which defaults to 'edit_others_posts' (save-page).
What it does
This ability enables or disables SeedProd's coming soon mode via a required enabled boolean. When enabling, it uses the site's existing coming soon page unless a specific page_id is supplied, and it automatically turns off maintenance mode since the two modes are mutually exclusive. If no coming soon page exists yet and none is supplied, the ability returns an error asking the caller to create one first with seedprod/save-page. An AI assistant would use this to launch or take down a coming soon page on command without opening the WordPress admin.
See it in action
You ask your AI assistant
"Turn on coming soon mode using my existing coming soon page."
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
| enabled | boolean | Yes | Whether to enable (true) or disable (false) coming soon mode. |
| page_id | integer | No | Optional. The ID of the SeedProd page to use. If omitted, uses the existing page. |
Returns
An object with success (boolean), the resulting enabled state, and the page_id now bound to coming soon mode.
Permission
The current user must have the 'manage_options' capability.
More SeedProd abilities
Get SeedProd Page
Retrieve a single SeedProd page's metadata, or its full section content when requested.
Get SeedProd Status
Read whether coming soon, maintenance, login, and 404 modes are active, along with license and version details.
List SeedProd Pages
List every SeedProd landing page, mode page, and theme template with its ID, title, type, and status.
Save SeedProd Page
Create a new SeedProd page or update an existing one, including its section/row/block content and mode activation.
Toggle Maintenance Mode
Turn SeedProd's maintenance mode page on or off, serving a 503 status to search engines while it's active.