Main Menu
Sub Menu

wpdm_before_download

Description


Using this filter you can modify the package settings before serving download.

 

Usage


<?php add_filter('wpdm_before_download','callbabck_function',10,1);  ?>

Examples

<?php 
add_filter('wpdm_before_download','wpdm_before_download_package',10,1); 

function wpdm_before_download_package($package) { 
  //todo: Modify any package settings. This changes made here are only for current requested download if you do not update the option. 
  return $package; 
} 
?>

 

Last updated on Feb 21, 2023

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.