Find and replace across Elementor content
elementor_replace_textReplace a string across Elementor page data, preview affected pages and occurrence counts with a default dry run, then commit confirmed changes safely.
Instructions
Replace a string everywhere it appears in Elementor page data — a phone number, an old brand name, a changed URL. Runs as a dry run by default and reports exactly which pages and how many occurrences it would touch; set dryRun false and confirm true to commit. Every page it edits is snapshotted first. Always read the dry run before committing.
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": {
"search": "<search>"
},
"name": "elementor_replace_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | Configured site name. Omit to use the default site. | |
| dryRun | No | Report without writing. Leave true until you have read the report. | |
| search | Yes | The exact string to find. | |
| confirm | No | Required when dryRun is false. | |
| postIds | No | Restrict to these pages. | |
| replace | No | What to put in its place. Empty removes it. | |
| postTypes | No | ||
| caseSensitive | No |