Jake Vanderwerf
2026-06-29 4089ba01e0881c89a72332e13bc3a80b6bddec2a
inc/rest/Rest.php
@@ -39,9 +39,15 @@
         $this->cache = Cache::for($this->cacheName, $this->cacheTtl);
      }
      add_action('rest_api_init', [$this, 'registerRoutes']);
      add_action('rest_api_init', [$this, 'registerRoutes'], 10);
      add_action('rest_api_init', [$this, 'ensureDefinitions'], 9);
   }
   public function ensureDefinitions():void
   {
      Site::getInstance();
      Registrar::ensureInstanced();
   }
   /**
    * Register routes - implement using Route builder
    */