$recent_orders, 'meta_key' => '_customer_user', 'meta_value' => $customer_id, 'post_type' => 'shop_order', 'post_status' => 'publish' ); $customer_orders = get_posts($args); if ($customer_orders) : ?>
get_order_number(); ?> – | get_formatted_shipping_address()) echo $order->get_formatted_shipping_address(); else echo '–'; ?> | order_total); ?> | name, 'woocommerce' ) ); ?> status, array('pending', 'failed'))) : ?> () | status, array('pending', 'failed'))) : ?> |