Jake Vanderwerf
2026-08-26 ccf5e61a075c35d24befc175994b5cb8957ca322
inc/managers/SEO/render/Traits/_Properties/reviewTrait.php
@@ -1,6 +1,7 @@
<?php
namespace JVBase\managers\SEO\render\Traits\_Properties;
use JVBase\integrations\services\GoogleMyBusiness;
use JVBase\managers\SEO\render\Thing\CreativeWork\Review;
use JVBase\managers\SEO\render\Thing\Intangible\Rating\Rating;
use JVBase\managers\SEO\render\Thing\Person\Person;
@@ -169,7 +170,8 @@
   {
      $userID = (int) get_post_meta($meta->id(), BASE.'profile_link', true);
      if ($userID && $userID > 0) {
         $integration = JVB()->connect('gmb', $userID);
         $integration = GoogleMyBusiness::getInstance();
         $integration->switchUser($userID);
         if ($integration && $integration->isSetUp()){
            $fetched = $integration->getReviews(20);