filter proposal in wpdm package code

Viewing 5 posts - 1 through 5 (of 5 total)
#208404

davide balconi
Participant

Hello,
i need to add a searchbox into the wpdm_all_package shortcode
I’ve noticed that i can add the searchbox as an external entity and have that interract with the shortcode via wp_query
to do so, i’ll need a changes in plugin code that can be useful for a lot of users

In
download-manager\src\Package\views\all-packages-shortcode.php:245

Add:

$query_params = apply_filters('wpdm_all_packages_query_params', $query_params);

So if needed we can change the wp query ad change parameters (in my example add a “s” parameter)
Let me know if is possible or if there is a better way that i didnt see
Have nice day

#208405

Nayeem Riddhi
Moderator

Hello davide balconi,

Hope you are well. We are checking the issue. I have already forwarded your concern to our related team authority. Please kindly check and let me know if you have any more queries.

Thank you and kind regards

#208509

davide balconi
Participant

any news?

#208510

Nayeem Riddhi
Moderator

I have again forwarded it to our related team authority. Please kindly check and let me know if you have any more queries.

Thank you and kind regards

#208511

Tahasin
Moderator

Hello, Davide

Thank you for your thoughtful suggestion and for taking the time to look into the plugin code, we really appreciate your initiative!

we will definitely review this internally and check the possibility of adding the filter. If feasible, we’d be happy to include it in a future update.

In the meantime, for a built-in solution, you might also want to try the [wpdm_search_result] shortcode, which comes with a search form and displays matching packages based on user input.

Regards

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.