From 3241a281b1f854dd848156cd9ca54de0e607f08c Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Mon, 10 Nov 2025 21:05:17 +0000
Subject: [PATCH] =Update

---
 forms/_setup.php |   30 ++++++++++++++++++++++++++++++
 1 files changed, 30 insertions(+), 0 deletions(-)

diff --git a/forms/_setup.php b/forms/_setup.php
index b3d9bbc..bb62db1 100644
--- a/forms/_setup.php
+++ b/forms/_setup.php
@@ -1 +1,31 @@
 <?php
+
+/*************************************************************
+ *
+ *  Filters the forms for the form block
+ *      Must contain an array with:
+ *          'title'         => {string} optional
+ *          'description    => {array} of strings, each entry becoming its own <p></p>
+ *          'submit'        => {string} submit button text
+ *          'success_title' => {string} a custom heading for the success message
+ *          'success_message'=> {array} of strings, each entry becoming its own <p></p>
+ *          'email_subject' => {string} subject for admin's email
+ *          'fields'        => {array} as per MetaManager.php
+ *          'sections'      => {array} optional array of sections, as per MetaManager.php, for a tabbed form
+ *
+ ************************************************************/
+
+require(AJV_DIR . '/forms/get-an-estimate.php');
+require(AJV_DIR . '/forms/nlp.php');
+require(AJV_DIR . '/forms/contact.php');
+require(AJV_DIR . '/forms/partner.php');
+
+add_filter('jvb_register_forms', 'altr_register_forms');
+
+function altr_register_forms($forms) {
+    $forms['get_an_estimate']   = altr_get_an_estimate();
+    $forms['nlp']               = altr_nlp();
+    $forms['contact']           = altr_contact();
+    $forms['partner']           = altr_nlp_partner();
+    return $forms;
+}
\ No newline at end of file

--
Gitblit v1.10.0