This is a WordPress URL with parameters post_type
and post_status
.
https://www.example.co.uk/wp-admin/edit.php?post_type=shop_order&post_status=wc-pending
I need two post_status
so the query fetches both, which would be an OR
condition in the query but this would require editing the core.
https://www.example.co.uk/wp-admin/edit.php?post_type=shop_order&post_status=wc-pending&post_status=wc-processing
This only fetches wc-processing
, when i want it two fetch both wc-processing
and wc-pending
.
Is there anyway to do this so that I don't have to edit the core files of WordPress?