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_dokan_calendar_class
  • bkap_dokan_class
  • bkap_dokan_orders_class
  • bkap_dokan_products_class

Class bkap_dokan_orders_class

Class for Integrating Orders with Dokan

Package: BKAP\Vendors\Dokan
Author: Tyche Softwares
Located at includes/vendors/dokan/class-bkap-dokan-orders.php

Methods summary

public
# __construct( )

Constructor

Constructor

Since

4.6.0
public
# bkap_dokan_include_booking_styles( )

Load common styles before rendering templates

Load common styles before rendering templates

Since

4.6.0
public
# bkap_booking_menu_tabs( string $current_page, string $bkap_url )

Display Booking Menu Tabs

Display Booking Menu Tabs

Parameters

$current_page
Current Page active
$bkap_url
Booking Tab URL

Since

4.6.0
public
# bkap_load_related_template( string $current_page, string $bkap_url )

Load Template based on the page opened in Bookings Menu

Load Template based on the page opened in Bookings Menu

Parameters

$current_page
Current Page active
$bkap_url
Booking Tab URL

Since

4.6.0
public string
# bkap_show_booking_status( string $status )

Show Booking status as an icon on vendor dashboard

Show Booking status as an icon on vendor dashboard

Parameters

$status
Status string

Returns

string
HTML formatted string to be displayed in status column

Since

4.6.0
public
# bkap_download_booking_files( )

Download CSV and Print files

Download CSV and Print files

Since

4.6.0
public static
# bkap_load_view_template( string|integer $booking_id, array $booking_post )

Load Booking Template for Editing Bookings for Vendor

Load Booking Template for Editing Bookings for Vendor

Parameters

$booking_id
Booking ID
$booking_post
Post data containing Booking Information

Since

4.6.0
public
# bkap_dokan_change_status( )

Change Booking Status from View Bookings for Vendor Dashboard

Change Booking Status from View Bookings for Vendor Dashboard

Since

4.6.0
public boolean
# bkap_dokan_load_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_load_order_scripts( )

Load CSS file for Edit Orders Page

Load CSS file for Edit Orders Page

Since

4.6.0
API documentation generated by ApiGen