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

  • bkap_calendar_sync
  • BKAP_Gcal
  • BKAP_Gcal_Event
  • bkap_gcal_sync_settings
  • BKAP_Google_Events_View
  • product_gcal_settings
  • WAPBK_Import_Bookings_Table

Functions

  • bkap_import_events_cron
  • woocommerce_bkap_add_cron_schedule

Class product_gcal_settings

Bookings and Appointment Plugin for WooCommerce

Class for handling Manual Bookings using Bookings->Create Booking

Package: BKAP\Google-Calendar-Sync
Category: Classes
Author: Tyche Softwares
Class: product_gcal_settings
Located at includes/product-calendar-sync-settings.php

Methods summary

public
# __construct( )

Default constructor

Default constructor

Since

4.0.0
public
# gcal_tab( integer $product_id )

This function adds the Google Calender Sync Settings menu to the Booking meta box on the Add/Edit Product Page.

This function adds the Google Calender Sync Settings menu to the Booking meta box on the Add/Edit Product Page.

Parameters

$product_id
  • Product ID

Since

4.0.0

Hook

bkap_add_tabs
public
# collapse_tab( integer $product_id )

This function adds a Collapse tabs menu to the Booking menu on the Add/Edit Product Page.

This function adds a Collapse tabs menu to the Booking menu on the Add/Edit Product Page.

Parameters

$product_id
  • Product ID

Since

4.0.0

Hook

bkap_add_tabs
public
# bkap_gcal_show_field_settings( integer $product_id )

Displays the settings for Google Calendar Sync in the Booking meta box.

Displays the settings for Google Calendar Sync in the Booking meta box.

Parameters

$product_id
  • Product ID

Since

2.6.3

Hook

bkap_after_listing_enabled
public array
# bkap_gcal_product_settings_save( array $booking_settings, integer $product_id )

Saves the settings in the Google Calender Sync Settings to the DB in the Booking meta box in the Add/Edit Product page.

Saves the settings in the Google Calender Sync Settings to the DB in the Booking meta box in the Add/Edit Product page.

Parameters

$booking_settings
  • Booking Settings
$product_id
  • Product ID

Returns

array
$booking_settings - Updated Booking Settings

Since

2.6.3
API documentation generated by ApiGen