wp_elementor_update_text
Replace text in an Elementor heading or text widget by matching existing text. A snapshot is created before the update.
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 | ||
| widget_type | No | Widget type: heading, text-editor, or raven-heading | heading |
| match_text | Yes | Existing text to find (partial match supported) | |
| new_text | Yes | Replacement text |