wp_elementor_update_page
Replace a WordPress page's Elementor content by sending the full element tree as JSON, defining sections, columns, and widgets to update the page layout.
Instructions
Update the Elementor data for a page/post. Send the full element tree as JSON. The structure follows Elementor's hierarchy: sections (elType: "section") contain columns (elType: "column") which contain widgets (elType: "widget", widgetType: "heading"|"text-editor"|"image"|etc.). Each element has an "id" (8-char hex), "settings" object, and "elements" array for children. Always read the page first with wp_elementor_get_page to understand the current structure.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The WordPress post/page ID | |
| elements | Yes | The full Elementor element tree (array of sections) | |
| page_settings | No | Optional page-level settings (layout, background, etc.) |