Find Where a Pattern Is Used
Lists every place a saved pattern is used: pages and posts, templates and template parts, Navigation menus, other patterns and block widgets, with links to edit or view each, plus places pending in the theme draft. Read-only. Use it before changing or deleting a synced pattern, to tell the person exactly what will change.
Also known as: where is this pattern used, pattern usage, which pages use this reusable block.
| Property | Value |
|---|---|
| Ability slug | mosmcp/theme-pattern-usage |
| Wire tool name | mosmcp__theme-pattern-usage |
| Category | Theme: Templates and Styles (mosmcp-theme-blocks) |
| Plan | Free |
Required access
| Requirement | Value |
|---|---|
| Capability | edit_theme_options |
| Minimum default role | Administrator (Shop manager too when WooCommerce is active) |
| Annotations | readOnly: true · destructive: false · idempotent: true · openWorld: false |
Input schema
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| id | integer (min 1) | Yes | — | Saved pattern ID, from mosmcp/theme-pattern-list. |
Output schema
| Field | Type | Required | Description |
|---|---|---|---|
| id | integer | Yes | |
| title | string | ||
| synced | boolean | ||
| total | integer | Yes | |
| truncated | boolean | ||
| places | object[] | Yes | |
| places[].type | string | Post type, such as "page" or "wp_template_part", or "widget". | |
| places[].type_label | string | ||
| places[].id | integer | Post ID, or 0 for a widget. | |
| places[].widget_id | string | ||
| places[].title | string | ||
| places[].status | string | ||
| places[].count | integer | How many times the pattern appears there. | |
| places[].edit_url | string | ||
| places[].view_url | string | ||
| pending | string[] | Templates, parts or patterns in the theme draft that place it. | |
| notes | string[] |
| << Previous | Next >> |
|---|---|
| Find Text in Templates | Get Global Styles |
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.