Description


The “wpdm_single_file_download_link” filter is used to filter the single download link of the package before print it.

Parameters


Three arguments are passed to this filter.

Usage


To change template data.
<?php add_filter('wpdm_single_file_download_link','callback_function',10,3); ?>

Examples

<?php
add_filter('wpdm_single_file_download_link','wpdm_change_signle_file_download_link',10,3);
function wpdm_change_signle_file_download_link($download_link, $download_url $package){
//your code here 
return $download_link;
}
?>

Related


Last Updated: Jul 9, 2016


Leave a Reply