Delivery Slots

Get The Delivery Date And Time For An Order

The delivery date and time slot are saved to an order as post meta. This means it’s possible to fetch using PHP. You can get three different bits of data: the delivery date, the time slot, and the timestamp.

$date = $order->get_meta( '_jckwds_date' );
$time_slot = $order->get_meta( '_jckwds_timeslot' );
$timestamp = $order->get_meta( '_jckwds_timestamp' );
Last updated: March 25, 2021
Was this page helpful?
Thanks for the feedback!