Write raw Elementor data
wp_el_setOverwrite a page's entire Elementor tree with valid JSON, snapshotting the previous tree first. Requires confirm="overwrite".
Instructions
Replace the whole Elementor tree for a page. Use wp_el_build for authored pages and this only when you already have valid Elementor JSON. Snapshots the previous tree automatically. Requires confirm:"overwrite".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Array tree or JSON string | |
| confirm | Yes | Must be "overwrite" | |
| post_id | Yes | ||
| snapshot | No |