Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Todo
  • Hook Reference
  • Docs Home

Packages

  • BKAP
    • Addons
    • Admin-Bookings
    • Attribute-Lockout
    • Block-Pricing
    • Booking-Box
    • Booking-Confirmation
    • Booking-Process
    • Cancel-Order
    • Cart
    • Checkout-Process
    • Core
    • Date-Time
    • Emails
    • Functions
    • Global-Function
    • Global-Settings
    • Google-Calendar-Sync
    • ICS
    • Import-Booking
    • Labels
    • License
    • Menus
    • Meta-Boxes
    • Reschedule
    • Resources
    • Search-Widget
    • Special-Price
    • Uninstall
    • Validation
    • Variation-Lockout
    • Vendors
      • Dokan
      • WC-Vendors
    • View-Bookings
  • None

Classes

  • Custom_WooCommerce_Widget_Product_Search

Functions

  • addDayswithdate
  • bkap_check_booking_available
  • bkap_check_day_booking_available
  • bkap_check_for_max_date
  • bkap_check_for_min_date
  • bkap_check_holiday
  • bkap_check_in_custom_holiday_range
  • bkap_check_resource_available
  • bkap_generate_bookable_data
  • bkap_get_custom_posts
  • bkap_widgets_init
  • calback_bkap_max_date
  • check_in_fixed_block_booking
  • check_in_range
  • check_in_range_abp
  • check_in_range_holidays
  • check_in_range_weekdays

Package BKAP\Search-Widget

Classes summary

Custom_WooCommerce_Widget_Product_Search Class for Booking & Appointment Availability Search functionality

Functions summary

addDayswithdate This function will add days to the passed date and return the date
bkap_check_booking_available Check if Booking is not locked out for a particular date
bkap_check_day_booking_available Check if bookings are available for that day for single day bookings
bkap_check_for_max_date

Check if start date is out of the max date range (i.e. maximum number of dates to choose). Return true if in range else return false

bkap_check_for_min_date

Check if min booking date is available for booking when compared to start date. Return true if date available else return false

bkap_check_holiday Check if the date passed is a part of global holidays
bkap_check_in_custom_holiday_range Check in custom dates which are non-bookable
bkap_check_resource_available Check if resource is available on the given start and end date range or not.
bkap_generate_bookable_data This function calculate the maximum available date in the booking calendar
bkap_get_custom_posts Modify current search by adding where clause to cquery fetching posts
bkap_widgets_init This function initialize the wideget and register the same.
calback_bkap_max_date This function calculate the maximum available date in the booking calendar
check_in_fixed_block_booking This function will return array of dates with true or false value based on the weekday of fixed block
check_in_range This function will check if the date is between give date range or not.
check_in_range_abp This function will return array of dates with true if date is current/future date and false if date is past date.
check_in_range_holidays This function will return date with true or false value based on the holidays date
check_in_range_weekdays This function will return date range with true false based on the enabled weekdays.
API documentation generated by ApiGen