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

Class Custom_WooCommerce_Widget_Product_Search

Class for Booking & Appointment Availability Search functionality

WP_Widget
Extended by Custom_WooCommerce_Widget_Product_Search
Package: BKAP\Search-Widget
Author: Tyche Softwares
Class: Custom_WooCommerce_Widget_Product_Search
Located at widget-product-search.php

Methods summary

public
# __construct( )

Default constructor.

Default constructor.

Since

1.7
public string
# get_custom_page_url( array $page_name )

This function return the custom page url for widget.

This function return the custom page url for widget.

Parameters

$page_name
Name of the page

Returns

string
$page_permalink Permalink of the given page

Since

1.7

See

WP_Widget
public
# widget( array $args, array $instance )

This function display the widget on the front end.

This function display the widget on the front end.

Parameters

$args
Widget arguments.
$instance
The settings for the particular instance of the widget.

Since

1.7

See

WP_Widget
public array
# update( array $new_instance, array $old_instance )

This function will chnage the value when save buutton click on admin widgets page..

This function will chnage the value when save buutton click on admin widgets page..

Parameters

$new_instance
New settings for this instance as input by the user via
$old_instance
Old settings for this instance.

Returns

array
$instance New data for the fields in the backend Widget form

Since

1.7

See

WP_Widget->update
public
# form( array $instance )

This function display the setting field on the admin side.

This function display the setting field on the admin side.

Parameters

$instance
Current settings

Since

1.7

See

WP_Widget->form
public static
# clear_widget_dates( )

This function clear the session when Clear button in Booking Wirdget is clicked.

This function clear the session when Clear button in Booking Wirdget is clicked.

Since

4.3.0
API documentation generated by ApiGen