Description
You can use this filter to add new email template tags/variables and use the tag with the email message to show the data in the email. Replace {{...}} with email template id like default or user-signup or password-reset. So, if you want to add it with user signup email, the filter will be wpdm_email_params_user-signup
Parameters
One parameter is passed to this hook.
Usage
To apply any custom lock to packages.
<?php add_filter('wpdm_email_params_user-signup','callback_function'); ?>
Examples
<?php
add_filter('wpdm_email_params_user-signup','custom_data_tag');
function custom_data_tag($params){
//Any data from signup form
$params['custom_tag'] = wpdm_valueof($_REQUEST, 'custom_field');
return $params;
}
?>