wp_elementor_update_text
Update Elementor heading or text widgets by matching existing text and replacing it with new content, with a snapshot created before changes for rollback.
Instructions
Find a heading or text-editor widget by matching existing text and replace it. Creates a snapshot before updating.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page_id | Yes | ||
| new_text | Yes | Replacement text | |
| match_text | Yes | Existing text to find (partial match supported) | |
| widget_type | No | Widget type: heading, text-editor, or raven-heading | heading |