Jake Vanderwerf
2025-11-10 3241a281b1f854dd848156cd9ca54de0e607f08c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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;
}