Function get_bookings_for_range
Function to calculate dates and/or time slots with the number of bookings received in the date range.
Parameters summary
integer |
$product_id |
Product ID |
string |
$min_date |
Min_date |
string |
$end_date |
Date |
boolean |
$include_start = true |
Pass true if checkout date should be consider |
Return value summary
array
|
$dates Array of Date and/or Timeslot with the number of booking received in the date range. |