Changer the order on Requests View Page

Hi,
I would like to order requests view page of blocks for custommers for due-date asc.
I would like to show first the first request that will appear sooner, instead for last request id.
Is that possible with a hook?
Regards

Hi,

If you mean by the custom date attribute, then it’s possible to use the pre_get_posts hook, and then distinguish the main query and change the buy order accordingly.

I believe this will be useful to you.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.