update_page
Update WordPress pages with Elementor data by specifying page ID, title, status, content, and JSON-based Elementor data. Verifies success with a boolean response.
Instructions
Updates an existing page in WordPress with Elementor data, it will return a boolean value to indicate if the update was successful.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
content | No | The standard WordPress content for the page (optional). | |
elementor_data | No | The Elementor page data as a JSON string. Optional for update. | |
pageId | Yes | The ID of the page to update. | |
status | No | The status for the page (e.g., 'publish', 'draft'). | |
title | No | The title for the page. |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"content": {
"description": "The standard WordPress content for the page (optional).",
"type": "string"
},
"elementor_data": {
"description": "The Elementor page data as a JSON string. Optional for update.",
"type": "string"
},
"pageId": {
"description": "The ID of the page to update.",
"exclusiveMinimum": 0,
"type": "integer"
},
"status": {
"description": "The status for the page (e.g., 'publish', 'draft').",
"enum": [
"publish",
"future",
"draft",
"pending",
"private"
],
"type": "string"
},
"title": {
"description": "The title for the page.",
"type": "string"
}
},
"required": [
"pageId"
],
"type": "object"
}