The wpdm_custom_data filter lets you inject custom data into each package array.
Two parameters are passed to this hook.
<?php add_filter('wpdm_custom_data', 'my_wpdm_custom_data', 10, 2); ?>
<?php
add_filter('wpdm_custom_data', 'my_wpdm_custom_data', 10, 2);
function my_wpdm_custom_data($package, $id) {
$package['extra_field'] = 'Custom Value';
return $package;
}
?>
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.