Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Todo
  • Hook Reference
  • Docs Home

Packages

  • None
  • Product-Delivery-Date-Pro-for-WooCommerce
    • Addon
    • Admin
      • Settings
        • Field-Labels
        • General
        • Google-Sync
      • View-Deliveries
    • Calendar
    • Common-Functions
    • Configuration
    • Delivery-Charges
    • Edit-Deliveries
    • Emails
    • Frontend
      • Cart
      • Checkout
    • Google-Calendar
    • Languages
    • License
    • Reschedule-Deliveries
    • View-Deliveries

Classes

  • prdd_admin_deliveries
  • prdd_adminevent_jsons
  • prdd_ics

Class prdd_ics

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

Package: Product-Delivery-Date-Pro-for-WooCommerce\Calendar
Author: Tyche Softwares
Since: 1.0
Class: prdd_ics
Located at prdd-ics.php

Methods summary

public static
# prdd_export_to_ics( object $order )

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

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

Parameters

$order
Order Object

Since

1.0
public static
# prdd_email_attachment( array $other, object $order_id, object $order )

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

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

Parameters

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

Returns


$file Returns the ICS file for the delivery details

Since

1.0
API documentation generated by ApiGen