Get the delivery date for an order

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

$date = get_post_meta( $order_id, 'jckwds_date', true );
$time_slot = get_post_meta( $order_id, 'jckwds_timeslot', true );
$timestamp = get_post_meta( $order_id, 'jckwds_timestamp', true );

Still need help? Contact Us Contact Us