Docs

Abilities reference

2 min readUpdated November 29, 2026

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.

AbilityChanges the siteWhat it does
nahnu-templates/get-setupNoStart here: the setup checklist, the ability that fixes each open item, and the setup order.
nahnu-templates/get-statusNoTemplates, cart and checkout pages, integrations, frameworks, shipping zones.
nahnu-templates/install-templatesYesCreates or updates the Bricks templates (draft_others drafts other templates of the same types).
nahnu-templates/fix-pagesYesSwaps the WooCommerce Cart or Checkout block for the classic shortcode. The old content stays in revisions.
nahnu-templates/get-settingsNoEvery setting, with the color fields and framework presets. Service keys show only as *_key_set.
nahnu-templates/update-settingsYesChanges any settings, including the write-only service keys, integrations, support links per language and custom payment logos.
nahnu-templates/apply-frameworkYesMatches a CSS framework preset.
nahnu-templates/get-theme-cssNoThe theme CSS the settings produce.
nahnu-templates/test-keyNo (one request to the service)Checks an address suggestions or Saudi Post key and marks it tested on the checklist.
nahnu-templates/manage-languagesWith add or removeLists the languages (built-in, added, right to left), adds or removes one.
nahnu-templates/get-textsNoThe template wording per language.
nahnu-templates/update-textsYesChanges the wording.
nahnu-templates/reset-settingsYesPuts named settings (or all) back to their defaults.
nahnu-templates/export-settingsNoSettings, wording and languages, without the service keys.
nahnu-templates/import-settingsYesApplies 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_urls": { "ar": "https://example.com/ar/help/", "fr": "/fr/aide/" } }