wp_search_replace
Search and replace text in WordPress post meta to update Elementor content. Dry-run first; apply requires confirmation token for safe execution.
Instructions
Run wp search-replace against wp_postmeta (default) — the standard agency way to update Elementor text content. ALWAYS dry-run first; the apply call requires a confirmation token. Includes --precise --all-tables-with-prefix by default if you specify table='all'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_id | No | ||
| find | Yes | ||
| replace | Yes | ||
| table | No | wp_postmeta | |
| include_columns | No | e.g. 'meta_value'. Default: meta_value when table=wp_postmeta. | |
| precise | No | ||
| confirmation | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | ||
| command | Yes | ||
| stdout | No | ||
| stderr | No | ||
| exit_code | No | ||
| replacement_count | No | ||
| confirmation_token | No | ||
| expires_in_seconds | No |