This hook is triggered after package data is prepared. If you want to add/edit any data variable in package before use it, you can use this hook.
One argument is passed to this hook.
To change template data.
<?php add_filter('wpdm_after_prepare_package_data','callback_function',10,1); ?>
<?php
add_filter('wpdm_after_prepare_package_data','wpdm_modify_package_data',10,1);
function wpdm_modify_package_data($vars){
//your code here
$vars['email_heading'] = "Enter email to download";
return $vars;
}
?>
Now you can use [tag-name] in your link or page template which will show the "tag value" at front-end.
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.