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_wc_vendors
  • bkap_wcv_product

Class bkap_wc_vendors

Class for listing the bookings on respective pages

Package: BKAP\Vendors\WC-Vendors
Author: Tyche Softwares
Since: 4.6.0
Located at includes/vendors/wc-vendors/wc-vendors.php

Methods summary

public
# __construct( )

Default Constructor

Default Constructor

Since

4.6.0
public
# bkap_wcv_include_files( )

Include files as needed

Include files as needed

Since

4.6.0
public array
# bkap_add_menu( array $pages )

Add the Booking menu to the Vendor dashboard

Add the Booking menu to the Vendor dashboard

Parameters

$pages
Current Pages displayed in the menu

Returns

array

Since

4.6.0
public array
# bkap_modify_menu( array $pages )

Add the Booking menu to the Vendor dashboard

Add the Booking menu to the Vendor dashboard

Parameters

$pages
Current Pages displayed in the menu

Returns

array
public array
# bkap_booking_menu( array $menu )

Add the templates

Add the templates

Parameters

$menu
Current Menu Array

Returns

array
Menu array modified to containg Booking Page details

Since

4.6.0
public
# bkap_download_booking_files( )

View Bookings Data Export Print & CSV

View Bookings Data Export Print & CSV

Since

4.6.0
public
# bkap_wc_vendors_load_modals( integer $booking_id, Object $booking_post )

Loads modal template for editing the bookings for a Vendor from Vendor Dashboard

Loads modal template for editing the bookings for a Vendor from Vendor Dashboard

Parameters

$booking_id
Booking Post ID
$booking_post
WP Post Booking

Since

4.6.0
public boolean
# bkap_wc_vendors_enable_modals( boolean $display )

Enable Global Params to be set for Modals to load on View Bookings

Enable Global Params to be set for Modals to load on View Bookings

Parameters

$display
Status indicating presence of multiple products for booking

Returns

boolean
True if multiple products present

Since

4.6.0
public
# bkap_remove_menus( )

Remove the booking menu from the vendor admin dashboard

Remove the booking menu from the vendor admin dashboard

Since

4.6.0
API documentation generated by ApiGen