inquiry_email_extra_fields
Allows processing extra fields added to the inquiry form to include them in the email.
You need to have a working knowledge of Hooks before you get started.
Parameters
| Name | Type | Description |
|---|---|---|
$extra_fields |
parameter |
(array) array with extra fields |
$params |
parameter |
(array) associative array with contextual data |
Boilerplate Code
Use the boilerplate code to start using the action, and add your own logic or echo output.
Clickfwd\Hook\Action::add('inquiry_email_extra_fields', function($extra_fields, $params)
{
// Execute action or echo output
});
Source Files
/views/themes/default/email_templates/inquiry.thtml