Detach Synced Pattern
Turns one synced pattern on a page into ordinary blocks, the same as Detach in the editor: the page keeps exactly what it shows now, but that copy can then be edited on its own and no longer changes when the pattern changes. Page-specific pattern overrides are carried over, or the detach is refused when they cannot be. Other pages using the pattern are not affected. Saved as a revision, so it can be undone with mosmcp/revision-restore. The block at path must be a pattern block ("core/block"); find them with mosmcp/block-find.
Also known as: detach pattern, unsync this section, convert to regular blocks, edit just this copy, make this section editable here.
| Property | Value |
|---|---|
| Ability slug | mosmcp/block-detach-pattern |
| Wire tool name | mosmcp__block-detach-pattern |
| Category | Block Editor (mosmcp-blocks) |
| Plan | Free |
Required access
| Requirement | Value |
|---|---|
| Capability | edit_post (checked against the specific post) |
| Minimum default role | Contributor |
| Annotations | readOnly: false · destructive: false · idempotent: false · openWorld: false |
Input schema
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| id | integer (min 1) | Yes | — | ID of the post, page, custom post item or synced pattern. |
| path | string | Yes | — | Path of the pattern block ("core/block") to detach. |
| expected_modified | string | — | The "modified" value from your last read. When given, the change is refused if the content has changed since, so a stale path can never hit the wrong block. | |
| expected_block | string | — | The block type you expect at the path, such as "heading". When given, the change is refused if a different block is there. |
Output schema
| Field | Type | Required | Description |
|---|---|---|---|
| id | integer | Yes | |
| post_type | string | ||
| title | string | ||
| status | string | ||
| modified | string | Yes | Last-modified time. Pass it as expected_modified on your next change. |
| view_url | string | Public address, when published. | |
| preview_url | string | Preview address for unpublished content, for signed-in editors. | |
| edit_url | string | ||
| path | string | Yes | |
| block | string | ||
| pattern_id | integer | Yes | |
| pattern_title | string | ||
| paths | string[] | Paths of the blocks that replaced the pattern. | |
| changed | boolean | Yes | False when the content already matched and nothing was saved. |
| revision_id | integer | Revision holding the previous version, for mosmcp/revision-restore; 0 when none was made. | |
| warnings | object[] | Non-fatal issues encountered while running. | |
| warnings[].code | string | ||
| warnings[].message | string | ||
| warnings[].context | string | ||
| notes | string[] |
| << Previous | Next >> |
|---|---|
| Delete Block | Duplicate Block |
For more information about the Secure MCP Server for WordPress plugin, explore the following resources:
Product Overview | Pricing | Try for Free | Documentation
If you have any questions regarding plugin configuration, pricing plans or licensing, please contact us or mail us at aisupport@xecurify.com.