From f4be611c51473359e6d41780f0313c446079e9d3 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Tue, 09 Jun 2026 15:19:24 +0000
Subject: [PATCH] =Switched the /base/options.php to the same pattern as Site.php: a class based approached rather than a filter. Updated Meta.php to play along with the defined fields from there in Meta::forOptions. Had to change openingHoursSpecificationsTrait.php to not use the translater functions __('text','textdomain') for now, as we load before init.

---
 jvb.php |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/jvb.php b/jvb.php
index 16816ed..6cc5ff8 100644
--- a/jvb.php
+++ b/jvb.php
@@ -259,6 +259,7 @@
 add_action('plugins_loaded', 'jvb_site_definitions',1);
 add_action('plugins_loaded', 'jvb_registrar_definitions',2);
 add_action('plugins_loaded', 'jvb_field_definitions', 3);
+add_action('plugins_loaded', 'jvb_options_definitions',3);
 add_action('init', 'jvbLoadBase', 1);
 add_action('init', 'jvb_integration_definitions',3);
 add_action('init', 'jvb_field_section_definitions', 5);
@@ -279,6 +280,10 @@
 	do_action('jvb_define_fields');
 }
 
+function jvb_options_definitions():void
+{
+    do_action('jvb_define_options');
+}
 
 function jvbLoadBase():void
 {

--
Gitblit v1.10.0