Get Theme Builder Template
Returns one Elementor Pro Theme Builder template, popup or loop item: its type, status, display conditions (in the exact shape the set-conditions abilities take, plus plain words), any other template competing for the same place, a popup's triggers, and the elements of its layout. Read-only. Pass include_raw to get the stored layout to edit and send back to the matching update ability.
Also known as: open a theme template, header contents, popup settings, show template conditions.
| Property | Value |
|---|---|
| Ability slug | mosmcp/elementor-get-theme-template |
| Wire tool name | mosmcp__elementor-get-theme-template |
| Category | Elementor Pro (mosmcp-elementor) |
| Plan | Pro |
Required access
| Requirement | Value |
|---|---|
| Capability | edit_post (checked against the specific post) |
| Minimum default role | Contributor |
| Annotations | readOnly: true · destructive: false · idempotent: true · openWorld: false |
Input schema
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| id | integer (min 1) | Yes | — | The template or popup ID, as returned by mosmcp/elementor-list-theme-templates or mosmcp/elementor-list-popups. |
| element_limit | integer (1–500) | 100 |
Most layout elements to list. | |
| include_raw | boolean | false |
Also return the layout exactly as stored, including styling, as raw_elements. Needed only to change the layout with an update ability. Large. |
Output schema
| Field | Type | Required | Description |
|---|---|---|---|
| id | integer | Yes | |
| title | string | ||
| type | string | Yes | Elementor document type, for example header, single-post, popup or loop-item. |
| type_label | string | ||
| location | string | The theme location it fills: header, footer, single, archive or popup. Empty for loop items and unassigned sections. | |
| status | string | Yes | publish (live), draft, pending or private. |
| author_id | integer | ||
| author | string | ||
| conditions | object[] | Yes | Display conditions, in the shape the set-conditions abilities take. |
| conditions[].type | string | Yes | |
| conditions[].name | string | Yes | |
| conditions[].sub_name | string | ||
| conditions[].sub_id | integer | string | ||
| conditions_summary | string[] | The display conditions in plain words. | |
| live | boolean | Whether Elementor Pro shows it on the site now: published, with display conditions, and in Pro's conditions cache. Always false for loop items, which the Loop Grid and Loop Carousel widgets show. | |
| modified | string | Last change, in the site's timezone (Y-m-d H:i:s). Pass it, or modified_gmt, as expected_modified to an update. | |
| modified_gmt | string | Last change in UTC (Y-m-d H:i:s), the clock the other Elementor Pro abilities report as "modified". | |
| edit_url | string | Opens the template in Elementor. | |
| triggers_enabled | string[] | For a popup in a list: the triggers switched on. | |
| total_elements | integer | Yes | |
| element_counts | object | How many of each widget or container type the layout holds. | |
| elements | object[] | The layout's elements in order, with their element IDs and text, image and link values (styling left out). | |
| elements_more | boolean | Whether the layout has more elements than are listed. | |
| raw_elements | object[] | The layout exactly as stored, only when include_raw was set. Accepted as elements by the matching update ability. | |
| conflicts | object[] | Other templates shown by the same include condition in the same place. Elementor Pro shows only one of them there. | |
| conflicts[].condition | string | ||
| conflicts[].template_id | integer | ||
| conflicts[].title | string | The other template's title, or "#ID" when you may not edit it. | |
| conflicts[].status | string | ||
| triggers | object | For a popup: each trigger (page_load, scrolling, scrolling_to, click, inactivity, exit_intent, adblock_detection) with enabled and its settings. Accepted back as triggers by mosmcp/elementor-set-popup-triggers. | |
| timing | string[] | For a popup: the advanced rules switched on (page_views, sessions, times, url, sources, logged_in, devices, browsers, schedule). Change them in Elementor. | |
| notes | string[] |
| << Previous | Next >> |
|---|---|
| Get Elementor Form Submission | List Elementor Form Submissions |
For more information about the Secure MCP Server for WordPress plugin, explore the following resources:
Product Overview | Pricing | Try for Free | Documentation
If you have any questions regarding plugin configuration, pricing plans or licensing, please contact us or mail us at aisupport@xecurify.com.