Description


Use this filter to apply any change on package data before rendering download link

Parameters


One parameter is passed to this hook.

Usage


To add new tabs Under Package Settings section.

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

Examples


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

?>
Last Updated: Jul 27, 2015


Leave a Reply