Filter: gk/block-mcp/abilities/enabled
Filters whether Block MCP registers its operations as WordPress Abilities (exposing them to the official MCP Adapter and the Abilities REST API). Defaults to the Settings → Block MCP toggle.
Parameters
| Name | Type | Description |
|---|---|---|
| $enabled | bool | Whether registration is enabled. |
Since
- 2.1.0
Source
Defined in wordpress-plugin/gk-block-mcp/includes/class-block-abilities.php at line 107