From c68aefb847b09daa0697de7684d3451e2e68ce1e Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Thu, 09 Jul 2026 23:10:23 +0000
Subject: [PATCH] =Refactor of Integrations.php to be a bit more useful with a suite of methods for create, update, delete back and forths for integrations where sharing is enabled. Also considering a single instance with a connect method to connect as the site (no user) vs connecting as an individual user - rather than recreating instances for every user.

---
 inc/blocks/RegisterBlocks.php |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/inc/blocks/RegisterBlocks.php b/inc/blocks/RegisterBlocks.php
index e9811ff..efe6e51 100644
--- a/inc/blocks/RegisterBlocks.php
+++ b/inc/blocks/RegisterBlocks.php
@@ -14,7 +14,7 @@
 require(JVB_DIR . '/build/summary/render.php');
 require(JVB_DIR . '/build/forms/render.php');
 require(JVB_DIR . '/build/menu/render.php');
-if (!empty(Registrar::getFeatured('is_glossary'))) {
+if (!empty(Registrar::withFeature('is_glossary'))) {
 	error_log('Has Glossary Type');
 	require(JVB_DIR . '/build/glossary/render.php');
 }
@@ -39,7 +39,7 @@
 //            ]
 //        );
 //    }
-	if (!empty(Registrar::getFeatured('show_directory'))) {
+	if (!empty(Registrar::withFeature('show_directory'))) {
         register_block_type(
             JVB_DIR . '/build/list',
             [

--
Gitblit v1.10.0