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_ics

Class bkap_ics

Class for Generating ICS file of the booking on Order Receive page and Email notification

Package: BKAP\ICS
Author: Tyche Softwares
Class: bkap_ics
Located at ics.php

Methods summary

public static
# bkap_export_to_ics( object $order )

This fuction adds Add to calendar button on Order recieved page which when clicked download the ICS file with booking details.

This fuction adds Add to calendar button on Order recieved page which when clicked download the ICS file with booking details.

Parameters

$order
Order Object

Since

1.7
public static
# bkap_email_attachment( array $other, object $email_id, object $order )

This function attach the ICS file with the booking details in the email sent to user and admin.

This function attach the ICS file with the booking details in the email sent to user and admin.

Parameters

$other
Empty array
$email_id
ID of email template
$order
Order Object

Returns


$file Returns the ICS file for the booking

Since

1.7
API documentation generated by ApiGen