i4w_password_send_template
Usage
This hook enables you to change or assign an Keap email template ID on the fly through a filter.
If this hook is used, a different email template will used to send the mail out.
Parameters
iMember360 will pass the following parameters to your filter function:
| Parameter | Description |
|---|---|
| $current_template_id | The current template ID, unfiltered. |
Example
PHP
function my_i4w_password_send_template($current_template_id) {
$new_template_id = 2468;
return $new_template_id;
}
add_filter('i4w_password_send_template', 'my_i4w_password_send_template', 1, 1);