Jake Vanderwerf
2026-02-10 1e981179fc999d873000683b869aef01284827af
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
<?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/contact.php');
 
add_filter('jvb_register_forms', 'ajv_register_forms');
 
function ajv_register_forms($forms) {
    $forms['contact']           = ajv_contact();
    return $forms;
}