From b7ee59336783f996eeb12f043c8c43d8e2918b0f Mon Sep 17 00:00:00 2001 From: Aadil Ayub Date: Thu, 2 May 2024 08:06:35 +0000 Subject: [PATCH] display date --- template-order-label.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/template-order-label.php b/template-order-label.php index 5c6565a..7733d44 100644 --- a/template-order-label.php +++ b/template-order-label.php @@ -6,6 +6,7 @@ $first_name = $order->get_billing_first_name(); $last_name = $order->get_billing_last_name(); $postcode = $order->get_billing_postcode(); $items = $order->get_items(); +$order_date = $order->get_date_created()->date('d/m/Y'); ?> @@ -103,7 +104,7 @@ $items = $order->get_items();

Roast

-

Roasted on: 31/03/2024

+

Roasted on:

NGO