feat: wire Batch1 extension via asktam_mcp_register_tools hook

This commit is contained in:
2026-10-15 17:42:20 +00:00
parent 53825f5bfe
commit cb92b80fe9
+5
View File
@@ -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();
}); });