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_holidays

Up to v3.5.x holidays were saved as a string. From v4.0.0, they will be saved as an array where the date is the key and the number of years to recur is the value.

This function modifies the old records to the new format for each bookable product.

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