Main Menu
Sub Menu

wpdm_download_filename

Description


Use this filter to update file name before download

Parameters


Two parameters are passed to this hook.

Usage


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

Examples

<?php
add_filter('wpdm_download_filename','wpdm_change_filename',10,2);
// $menu_items is an array containing current menu items
function wpdm_change_filename($filename, $package){ 
      //code to 
      //change filename
      return $filename;
}
?>
Last updated on Mar 25, 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.