<?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(AMI_DIR . '/forms/contact.php');
|
|
add_filter('jvb_register_forms', 'ami_register_forms');
|
|
function ami_register_forms($forms) {
|
$forms['contact'] = ami_contact();
|
return $forms;
|
}
|