Main Menu
Sub Menu

wpdm_download_link_expiration_limit

Description


The "wpdm_download_link_expiration_limit" filter is used to filter the download link expiration limit of the package when user downloads a locked package. When someone download a locked package ( like email locked, password locked ), it generates a download link which expires after it is used for 3 times, you can change it using the filter.

Parameters


Two arguments are passed to this filter.

Usage


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

Examples

<?php
add_filter('wpdm_download_link_expiration_limit','wpdm_change_download_link_expiration_limit',10,2);
function wpdm_change_download_expired_message($limit, $package){
//your code here 
$limit = 99999;
return $limit;
}
?>

Related


Last updated on Jun 20, 2016

Need More Clarification?

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.

Need Customization?

If you need additional customization on WordPress Download Manager or any type of custom support on WordPress you may contact our customization service.