bkap_add_days_to_date |
Return date in d-n-Y format after adding days to original date. |
bkap_array_of_given_date_range |
Create array of dates between give start and end dateReturn date in d-n-Y format after adding days to original date. |
bkap_booked_resources |
Getting all the post which has resource post meta. |
bkap_booking_posts_for_resource |
All Booking posts having the resource ID |
bkap_calculate_bookings_for_resource |
Calculating Booked, locked dates and time for resource |
bkap_check_resource_booked_in_date_range |
Create array of dates between give start and end dateReturn date in d-n-Y format after adding days to original date. |
bkap_delete_event_from_gcal |
Delete event from Google Calendar for the given order item id |
bkap_get_book_arrays |
This function return the array based on string passed for it. |
bkap_get_booked |
This function will calculate the check-in dates that are booked for multiple |
bkap_get_booked_checkout |
This function will calculate the check-out dates that are booked for multiple |
bkap_get_day_between_Week |
Get days numbers between days. |
bkap_get_lockout |
This functions is for getting an array of dates that are locked |
bkap_get_month_range |
Get date range between month. |
bkap_get_posted_availability |
Get posted availability fields and format. |
bkap_get_total_timeslot_maximum_booking |
This function will calculate the total maximum booking for timeslot. |
bkap_get_week_range |
Get date range between week. |
bkap_insert_event_to_gcal |
Insert event to Google Calendar for the given order item id |
bkap_save_resources |
This function will return an array of resource availability and its available quantity. |
bkapSortByPriority |
Sorting Resource Ranges based on priority |
get_availability_for_date |
This function is to get the available bookings for a date |
get_booked_multiple |
Returns an array of dates that are completely booked
i.e. lockout has been reached.
Lockout Priority:
1. specific date lockout
2. weekday lockout
3. lockout date after X orders |
get_bookings_for_date |
Returns an array of dates and the number of bookingsdone for the same. array[ Ymd ] => bookings done |
get_bookings_for_range |
Function to calculate dates and/or time slots with the number of bookings received in the date range. |
get_date_lockout |
Function to get the total bookings allowed for a date |
get_slot_availability |
Returns the available bookings for a date & time slot |
get_slot_lockout |
Returns the total bookings allowed for a given date and time slot |
get_standard_decimal_thousand_separator_price |
Return price based standard decimal thousand separator. |