Main Menu
Sub Menu

wpdm_email_params_##email_template_id## – 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 ##email_template_id## 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 Jun 21, 2021

Need More Clarification?

For any technical issue, if you are already using pro version please post in pro forum and free version users please post in free forum. Otherwise, if you have any pre-sale or order related query please contact live chat support team. For technical support.

Need Customization?

If you need additional customization on WordPress Download Manager or any type of custom support on WordPress you may contact our customization service.