/**
* wc_bookings_summary_list_date is used to filter a booking's summary date.
* This example removes the end date for a multi-day booking.
*
* @param string $booking_date The formatted date that is displayed by default.
* @param int $booking_start Timestamp for the booking start time/date.
* @param int $booking_end Timestamp for the booking end time/date.
* @return string The modified date string.
*/
function modify_summary_date_20170821( $booking_date, $booking_start, $booking_end ) {
return date( 'F j, Y', $booking_start );
}
add_filter( 'wc_bookings_summary_list_date', 'modify_summary_date_20170821', 10, 3 );