Main Menu
Sub Menu

wpdm_get_files – Manipulate WordPress Download Manager Package file list


Use this filter to manipulate like change order, hiding any specific file before showing the attached file list at frontend


Two parameters are passed to this hook.


To add a new menu with author dashboard.

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


// $menu_items is an array containing current menu items
function wpdm_reorder_files($files, $package){ 
//Code to change file list order 
return $files;
Last updated on May 19, 2024

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.