feat: wire Batch1 extension via asktam_mcp_register_tools hook
This commit is contained in:
@@ -33,6 +33,11 @@ spl_autoload_register(function (string $class): void {
|
|||||||
if (file_exists($file)) require_once $file;
|
if (file_exists($file)) require_once $file;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// Tool batches merged from the elementor-mcp / wordpress-mcp parity program.
|
||||||
|
// Each batch registers net-new tools through the asktam_mcp_register_tools hook,
|
||||||
|
// so core files stay untouched. See includes/Extensions/ and NOTICE.md.
|
||||||
|
add_action('asktam_mcp_register_tools', ['AskTamMCP\Extensions\Batch1', 'register']);
|
||||||
|
|
||||||
add_action('plugins_loaded', function (): void {
|
add_action('plugins_loaded', function (): void {
|
||||||
AskTamMCP\Core\Plugin::instance()->boot();
|
AskTamMCP\Core\Plugin::instance()->boot();
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user