The wpdm_all_packages_query_params filter allows you to modify the query parameters used when fetching all packages.
One parameter is passed to this hook.
<?php add_filter('wpdm_all_packages_query_params', 'my_all_packages_query_params', 10, 1); ?>
<?php
add_filter('wpdm_all_packages_query_params', 'my_all_packages_query_params', 10, 1);
function my_all_packages_query_params($query_params) {
// Modify query params
$query_params['orderby'] = 'date';
return $query_params;
}
?>
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.