Docs / Filter Reference / wpdm_download_link

wpdm_download_link

Description


Use this filter to apply any change on download link before rendering it on page

 

Parameters


Two parameters are passed to this hook.

Usage


<?php add_filter('wpdm_download_link','wpdm_download_link',10,2);  ?>

Examples


<?php
add_filter('wpdm_download_link','wpdm_download_link', 10, 2);
// $package is an array containing current package info 
function wpdm_download_link($package){ 
  // Do your thing with $package
  return $package;
}

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