Abilities reference
The plugin registers 15 abilities in the nahnu-templates category. Every ability is shown to REST and to MCP clients through the WordPress MCP Adapter (meta.mcp.public), with read-only and destructive annotations. Each one needs the manage_woocommerce capability.
| Ability | Changes the site | What it does |
|---|---|---|
nahnu-templates/get-setup | No | Start here: the setup checklist, the ability that fixes each open item, and the setup order. |
nahnu-templates/get-status | No | Templates, cart and checkout pages, integrations, frameworks, shipping zones. |
nahnu-templates/install-templates | Yes | Creates or updates the Bricks templates (draft_others drafts other templates of the same types). |
nahnu-templates/fix-pages | Yes | Swaps the WooCommerce Cart or Checkout block for the classic shortcode. The old content stays in revisions. |
nahnu-templates/get-settings | No | Every setting, with the color fields and framework presets. Service keys show only as *_key_set. |
nahnu-templates/update-settings | Yes | Changes any settings, including the write-only service keys, integrations, support links per language and custom payment logos. |
nahnu-templates/apply-framework | Yes | Matches a CSS framework preset. |
nahnu-templates/get-theme-css | No | The theme CSS the settings produce. |
nahnu-templates/test-key | No (one request to the service) | Checks an address suggestions or Saudi Post key and marks it tested on the checklist. |
nahnu-templates/manage-languages | With add or remove | Lists the languages (built-in, added, right to left), adds or removes one. |
nahnu-templates/get-texts | No | The template wording per language. |
nahnu-templates/update-texts | Yes | Changes the wording. |
nahnu-templates/reset-settings | Yes | Puts named settings (or all) back to their defaults. |
nahnu-templates/export-settings | No | Settings, wording and languages, without the service keys. |
nahnu-templates/import-settings | Yes | Applies an export. Settings it leaves out, such as keys, keep their values. |
Integrations from other plugins#
Integrations registered with nbwt_register_integration() show up in get-status (slug, name, active, switches) and in get-settings under integrations. update-settings changes them:
{ "integrations": { "acme-loyalty": { "cart_points": false } } } Support links per language#
{ "support_urls": { "ar": "https://example.com/ar/help/", "fr": "/fr/aide/" } }