Hi,
I’ve been speaking with Oliver regarding this (He’s extremely helpful) but I’m a little out of my depth.
He’s given me this code to drop into my functions file but I need to come up with the query to sort by today’s date, or, a single date. My takeaway would like to only view orders from that day to save confusion:
/*** View orders by date on order history page ***/
add_filter(‘wppizza_filter_orderhistory_ordersquery’, ‘my_query_filter’);
function my_query_filter($query){
/* edit/alter the q as required here */
return $query;
}
Any help would be greatly appreciated. I’m sure this will come in useful for some other applications of WP Pizza
Regards,
Neal