Description
You can use this filter to customize the email message before you send it. Replace {{...}} with email template id like default or user-signup or password-reset. So, if you want to customize user signup email, the filter will be wpdm_email_template_user-signup
Parameters
One parameter is passed to this hook.
Usage
To apply any custom lock to packages.
<?php add_filter('wpdm_email_template_user-signup','customize_user_signup_email'); ?>
Examples
<?php
add_filter('wpdm_email_template_user-signup','customize_user_signup_email');
function customize_user_signup_email($template){
//check your lock here, return true for lock or return $lock
$template['message'] = "....customized message....";
return $template;
}
?>