Docs / Filter Reference / wpdm_email_params_{{…}} – Introduce new template tag for the email template

wpdm_email_params_{{…}} – Introduce new template tag for the email template

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;
}
?>

Related


Last updated on January 26, 2026

Need Help?

Get support from our team or community forum.

Visit Support

Customization

Need custom features? We can help.

Request Quote