From 32ce5c542c90be348895328078e392dde2052957 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Fri, 04 Sep 2026 19:15:16 +0000
Subject: [PATCH] =Working at adding defined fields to a dedicated panel in the gutenberg editor. Registrar now has AddCustomFields.php, which currently only supports post fields. Added a @wordpress/plugins base _meta/fields in /build and /src that successfully creates a panel. Next steps: determine sections and fields, group fields by section (each section to a panel), and save output

---
 inc/integrations/SyncDefaults.php |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/inc/integrations/SyncDefaults.php b/inc/integrations/SyncDefaults.php
index 4c9ad2b..54c3d2e 100644
--- a/inc/integrations/SyncDefaults.php
+++ b/inc/integrations/SyncDefaults.php
@@ -1,7 +1,7 @@
 <?php
 namespace JVBase\integrations;
 
-use JVBase\base\Options;
+use JVBase\base\options;
 use JVBase\meta\Form;
 use JVBase\meta\Meta;
 use JVBase\registrar\Registrar;
@@ -167,7 +167,7 @@
 	{
 		$name = $this->getFieldName($fieldName, $type);
 		if (is_null($userID)) {
-			return Options::get($name);
+			return options::get($name);
 		} else {
 			return Meta::forUser($userID)->get($name);
 		}
@@ -176,7 +176,7 @@
 	{
 		$name = $this->getFieldName($fieldName, $type);
 		if (is_null($userID)) {
-			Options::set($name, $value);
+			options::set($name, $value);
 		} else {
 			Meta::forUser($userID)->set($name, $value);
 		}

--
Gitblit v1.10.0