Overview
  • Package
  • Function
  • 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

Functions

  • bkap_400_create_meta
  • bkap_400_recurring_data
  • bkap_400_update_db_tab
  • bkap_400_update_enable_specific
  • bkap_400_update_enable_week_blocking
  • bkap_400_update_holidays
  • bkap_400_update_ranges
  • bkap_400_update_recurring_lockout
  • bkap_400_update_settings
  • bkap_400_update_special
  • bkap_400_update_specific
  • bkap_410_create_meta
  • bkap_410_update_block_pricing_option_values_in_new_way
  • bkap_410_update_fixed_blocks
  • bkap_410_update_price_ranges
  • bkap_410_update_settings
  • bkap_420_add_gcal_posts
  • bkap_420_add_gcal_tour_posts
  • bkap_420_gcal_batch_size
  • bkap_420_gcal_meta
  • bkap_420_update_settings
  • bkap_db_420_1
  • bkap_db_420_2
  • bkap_find_matching_product_variation
  • bkap_get_db_count
  • bkap_get_post_meta
  • bkap_manual_db_update_v420
  • bkap_orderby_date_key
  • bkap_sort_by_from_time
  • create_posts

Function bkap_400_update_ranges

Upto v3.5.x the plugin allowed only a single fixed range From v4.0.0 the plugin will allow multiple ranges. Hence this function modifies the way the data is stored. lockout value will be stored as the array value.

This function will be run once on updating the plugin. It will convert the old data to the new format.

Package: BKAP\Functions
Author: Tyche Softwares
Since: 4.0.0
Located at bkap-functions.php

Parameters summary

integer $product_id
API documentation generated by ApiGen