<?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;
|
}
|