Jake Vanderwerf
2025-10-20 e729f920139f0c65902be2d6b2c32466b08375e8
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']);