Opus Growth

Bulk Find & Replace (WordPress)

Applies the SAME find/replace to MANY WordPress posts/pages in one call, with a mandatory dry-run.

Type
Effectue des modifications
Crédits
1
Plateforme
WordPress
Validation
Aperçu d'abord, appliqué après validation

Ce qu'il fait

Applies the SAME find/replace to MANY WordPress posts/pages in one call, with a mandatory dry-run. wordpress_update_post's replace works well but takes a single id, so fixing the same defect on 11 pages meant 11 calls; this does it once, and its confirm=false PREVIEW shows every page that would change and HOW MANY times before anything is written, so an unintended broad match is visible first. Target pages come either from ids=[...] (wordpress_search_content returns them) or from a search filter (search=..., search_in/regex/type/status as in wordpress_search_content). replace=[{"find":"old","with":"new"}] has the same schema and safety as wordpress_update_post: a missing "with" is refused, never treated as a delete. match="normalized" (top-level or per entry) treats invisible characters (non-breaking space, smart quotes, long dashes) as their plain equivalents. DESTRUCTIVE: confirm=false previews per-page counts and writes NOTHING; confirm=true applies. Elementor/Divi pages whose visible text is not in post_content are reported as skipped, not silently missed. The search filter fetches every post one by one (~1 s each), so on a large site one call stops scanning after about 100 seconds and returns what it found so far with partial=true and next_offset; call again with offset=next_offset (same other arguments) to continue. For big sites it is faster to run wordpress_search_content first and pass its ids here.

La description est en anglais car c'est le texte officiel que voit votre IA.

MCP: wordpress_bulk_replace

Comment l'utiliser

Vous n'appelez pas les outils par leur nom. Écrivez ce que vous voulez dans ChatGPT, Claude ou un autre assistant connecté à Opus Growth ; l'IA choisit cet outil quand il convient.

Comme cet outil modifie votre compte, votre assistant affiche d'abord un aperçu exact du changement. Rien n'est appliqué sans votre accord et chaque modification est inscrite au journal d'audit.

Paramètres

NomTypeObligatoirePar défaut
replacearrayFacultatif·Replacement text or structured replacement rule to apply when this operation supports replacement.
idsarrayFacultatif·Ids value for wordpress bulk replace. Follow the documented provider format and use values returned by Opus Growth discovery tools where possible.
searchstringFacultatif·Text used to search or filter resources.
search_instringFacultatifcontentcontent · title · both · Exact search in value for wordpress bulk replace. Supply text in the provider's required format; when it selects an existing resource, use the exact identifier returned by the relevant list or search operation; matching the schema pattern.
regexbooleanFacultatiffalseWhether to enable regex for this operation.
typestringFacultatif·Resource or content type accepted by this operation. Use one of the provider-supported values.
statusstringFacultatifpublishDesired provider status for this resource; choose an allowed value from this schema.
matchstringFacultatif·literal · normalized · Exact match value for wordpress bulk replace. Supply text in the provider's required format; when it selects an existing resource, use the exact identifier returned by the relevant list or search operation; matching the schema pattern.
max_scanintegerFacultatif150Numeric max scan value for wordpress bulk replace. Use the provider's expected unit, range, and precision.
offsetintegerFacultatif0Zero-based position at which to start reading results. Use the next_offset returned by the previous response when present.
confirmbooleanFacultatiffalseSafety confirmation for a state-changing operation. Leave false to preview or validate; set true only after the user explicitly approves the shown change.
site_urlstringFacultatif·Exact URL of the connected WordPress site to target when more than one site is available.
page_tokenstringFacultatif·Continuation token returned as next_page_token by a previous call. Leave empty for the first page; pass it unchanged to retrieve the cached next page.