From e729f920139f0c65902be2d6b2c32466b08375e8 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Mon, 20 Oct 2025 17:54:52 +0000
Subject: [PATCH] =Form updates
---
JVBase.php | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/JVBase.php b/JVBase.php
index 7191fff..e6fe838 100644
--- a/JVBase.php
+++ b/JVBase.php
@@ -13,6 +13,7 @@
use JVBase\managers\UserTermsManager;
use JVBase\rest\routes\FeedRoutes;
use JVBase\rest\routes\FavouritesRoutes;
+use JVBase\rest\routes\IntegrationsSquareRoutes;
use JVBase\rest\routes\NotificationsRoutes;
use JVBase\rest\routes\ContentRoutes;
use JVBase\rest\routes\TermRoutes;
@@ -84,7 +85,6 @@
'userTerms' => new UserTermsManager(),
];
- add_action('wp_footer', [$this, 'additionalActions']);
if (Features::forSite()->has('magicLink')) {
$this->routes['magicLink'] = new MagicLinkRoutes();
@@ -98,6 +98,10 @@
$this->managers['dash'] = new DashboardManager();
}
+ if (Features::hasIntegration('square')){
+ $this->routes['square'] = new IntegrationsSquareRoutes();
+ }
+
$this->routes = [
'integrations' => new IntegrationsRoutes(),
];
@@ -148,6 +152,8 @@
}
$this->setupIntegrations();
+
+ add_action('wp_footer', [$this, 'additionalActions']);
// $this->managers['notifications'] = new NotificationManager();
// Register activation hook
register_activation_hook(JVB_DIR . '/jvb.php', [$this, 'activate']);
--
Gitblit v1.10.0