wp_bulk_find_replace
Find and replace exact text within WordPress post content. Preview changes with a dry run, then apply using the returned confirmation token.
Instructions
Find and replace a literal substring across post content. Requires MODE=full. Dry-run by default (returns count + sample of changes). To apply, set dry_run=false and provide the confirm token returned by the dry-run. Operates on rendered post_content only; does not touch titles, excerpts, or meta.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| find | Yes | ||
| status | No | publish | |
| confirm | No | ||
| dry_run | No | ||
| replace | Yes | ||
| per_page | No |