Closed mntzrr closed 8 months ago
wc_get_order_id_by_order_key has terrible performance on databases with many orders when HPOS is not enabled.
wc_get_order_id_by_order_key
Task linked: CU-8693948a4 replace woocommerce get order id by order key with a faster query
wc_get_order_id_by_order_key
has terrible performance on databases with many orders when HPOS is not enabled.