wp_elementor_clear_page
Clear all Elementor sections and containers from a page to start a rebuild, leaving theme header/footer intact. Requires confirmation when safe mode is enabled.
Instructions
Remove all Elementor canvas sections/containers from a page for rebuilds. Theme builder header/footer templates are unaffected. confirm:true required when safe mode is on.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"page_id": "<page_id>"
},
"name": "wp_elementor_clear_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | ||
| page_id | Yes |