Skip to content

Your EMCP guide

Answers from our docs

YOUR CHAT, YOUR CHOICE

Before we chat

MSR Builds processes your question and up to four recent messages on our server to answer from the EMCP docs. AI is optional and needs your separate permission.

The chat is kept in this page's memory, not saved as a conversation in our database or browser storage. Our hosting and security services process connection information, such as your IP address, to prevent abuse.

Cloudflare Turnstile checks your browser and connection to prevent automated abuse when you send a question. No login is required.

Please leave out personal, sensitive or confidential information, passwords and API keys.

You can withdraw consent and clear this page's chat at any time. This cannot undo a request already sent or erase provider/security records.

Chat privacy, retention & your rights ↗ · Privacy contact

Starting chat consents to this processing. You can browse our docs without using the chat.

Page Management

Creates a new WordPress page or post with Elementor enabled (_elementor_edit_mode = builder + matching template meta).

Input:

  • title (required): page title
  • post_type: page or post, defaults to page
  • status: publish, draft, or private, defaults to draft
  • template: Elementor page template, defaults to default

Returns: { post_id, edit_url, view_url }.

Capability: publish_pages (or publish_posts for posts), with fallback to edit_pages/edit_posts for drafts.

Updates page-level Elementor settings (the ones in the page settings panel: background, padding, layout mode, custom CSS class, etc.).

Input: post_id, settings (partial settings object, merged with existing).

Returns: { success: true }.

Capability: edit_post on the target.

Removes all Elementor content from a page. The WordPress page record remains; only the _elementor_data meta is cleared. Destructive. Use deliberately.

Input: post_id.

Returns: { success: true }.

Capability: edit_post on the target.

Imports a JSON template structure into a page (replaces existing Elementor content).

Input:

  • post_id
  • template_json: array of Elementor element objects in the standard export shape

Returns: { success: true, element_count }.

Capability: edit_post on the target.

Exports a page’s full Elementor data as JSON. Useful for backup, version control, or copying between sites.

Input: post_id.

Returns: { post_id, title, data: [...] }.

Capability: edit_post on the target.

New in v3.15.0. Invalidate stale Elementor CSS, render/asset data, and local atomic style caches. Elementor rebuilds them on the next frontend request; the tool does not change page content or purge CDN/third-party caches.

It ships disabled by default. Switch it on in the Page Management section of the Elementor tab on EMCP Tools → Tools, then choose Save changes in the save bar.

// One editable page (default scope).
regenerate-css({ post_id: 42 })
// Explicit site-wide invalidation; administrator permission required.
regenerate-css({ scope: "site", confirm: true })

Page scope requires edit_post on the target. Site scope requires manage_options and confirm: true; omitting a page ID does not silently switch to site scope. Fetch the frontend after invalidation to trigger rebuilding and verify the result.

To build a new page in one call, use build-page with a title, explicit draft status and a structure. It creates the WordPress page itself; do not call create-page first.

For an incremental build, use:

create-page → get a fresh post_id
add-container → add a section to that page
add-free-widget → add content to the container
update-element → style or revise the saved element

Or, if you’re working from a template:

list-templates → find the template ID
create-page → fresh post_id
apply-template → copy template into the new page

For editing existing pages, prefer update-element / batch-update over import-template. The latter wipes all existing content first.