Im trying to get all orders that have a certain value in a custom meta data.
Here is a basic query using wc_get_orders
wc_get_orders
$delivered_orders =