From 4089ba01e0881c89a72332e13bc3a80b6bddec2a Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Mon, 29 Jun 2026 22:15:55 +0000
Subject: [PATCH] =DashboardManager overhaul. A bit easier to modify the output of pages. Still have to get the account pages to work as expected, as well as verify the integrations and others are working - but registrar/content pages work as expected. Also fixed up the table generation in CRUD.js and CRUDSkeleton.php

---
 inc/integrations/GoogleMaps.php |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/inc/integrations/GoogleMaps.php b/inc/integrations/GoogleMaps.php
index 2990c7e..31a3d36 100644
--- a/inc/integrations/GoogleMaps.php
+++ b/inc/integrations/GoogleMaps.php
@@ -5,6 +5,7 @@
  */
 namespace JVBase\integrations;
 
+use JVBase\registrar\Registrar;
 use WP_Error;
 
 if (!defined('ABSPATH')) {
@@ -541,7 +542,7 @@
 			return true;
 		}
 
-		if (isJVBContentTax() && get_term_meta(get_queried_object_id(), BASE . 'has_map', true) === true) {
+		if (!empty(Registrar::withFeature('is_content', 'term')) && get_term_meta(get_queried_object_id(), BASE . 'has_map', true) === true) {
 			return true;
 		}
 

--
Gitblit v1.10.0