From ba1e1ccf869b818f7a7a897264dfea05563a7796 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Sun, 07 Jun 2026 20:10:20 +0000
Subject: [PATCH] =Major overhaul of Integrations. Playing around with adding fields to post types through Registrar from an integrations' class file.
---
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