Modify WooCommerce used to get all orders in dashboard

The existing WooCommerce orders table in the wp-admin dashboard orders the results by the date the order was made, but I want to modify the query to order by date and also by the shipping method of the order, where same-day delivery takes priority over standard delivery, etc.

I'm aware I can use the wc_get_orders() function to get all the orders myself and change the query however I like, but I need this new ordering system to work on the default orders page on the wp-admin dashboard for WooCommerce.

Topic woocommerce-offtopic mysql functions php Wordpress

Category Web

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.