Main Menu
Sub Menu

wpdm_all_packages_query_params

Description


The wpdm_all_packages_query_params filter allows you to modify the query parameters used when fetching all packages.

Parameters


One parameter is passed to this hook.

Usage


<?php add_filter('wpdm_all_packages_query_params', 'my_all_packages_query_params', 10, 1);  ?>

Examples

<?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;
}
?>
Last updated on Dec 7, 2025

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.