Jake Vanderwerf
2026-04-26 86c6cd3cc099d2480932ede03c12cea01e625c94
inc/registry/providers/IntegrationFieldProvider.php
@@ -1,7 +1,7 @@
<?php
namespace JVBase\registry\providers;
use JVBase\utility\Features;
use JVBase\base\Site;
if (!defined('ABSPATH')) {
   exit;
@@ -15,22 +15,22 @@
   protected array $allowed = [];
   public function __construct() {
      $allowed = [];
      if (Features::hasIntegration('gmb')) {
      if (Site::hasIntegration('gmb')) {
         $allowed['gmb'] = 'Google My Business';
      }
      if (Features::hasIntegration('facebook')) {
      if (Site::hasIntegration('facebook')) {
         $allowed['facebook'] = 'Facebook';
      }
      if (Features::hasIntegration('square')) {
      if (Site::hasIntegration('square')) {
         $allowed['square'] = 'Square';
      }
      if (Features::hasIntegration('instagram')) {
      if (Site::hasIntegration('instagram')) {
         $allowed['instagram'] = 'Instagram';
      }
      if (Features::hasIntegration('bluesky')) {
      if (Site::hasIntegration('bluesky')) {
         $allowed['bluesky'] = 'BlueSky';
      }
      if (Features::hasIntegration('helcim')) {
      if (Site::hasIntegration('helcim')) {
         $allowed['helcim'] = 'Helcim';
      }
      $this->allowed = $allowed;