Class orddd_calendar_sync
Main class for Google Calendar Sync for deliveries.
Author: Tyche Softwares
Class: orddd_calendar_sync
Located at orddd-calendar-sync.php
Methods summary
public
|
|
public
|
|
public
|
#
orddd_google_calendar_update_order_meta( integer $order_id )
This function adds an event/delivery information to the Google Calendar if automated sync is enabled. |
public
|
#
orddd_add_to_calendar_customer( WC_Order $order )
Adds buttons on WooCommerce Order received page using which customers can add deliveries into their calendars. |
public
|
#
orddd_add_to_calendar_customer_my_account( WC_Order $order, array $action )
Adds buttons on My Account page using which customers can add deliveries into their calendars. |
public
|
#
orddd_add_to_calendar_customer_email( WC_Order $order, boolean $sent_to_admin = false, boolean $plain_text = false )
Adds buttons in the WooCommerce customer emails when Integration mode is selected as directly using which customers can add deliveries/event into their calendars. |
public
|
#
orddd_admin_add_to_calendar_email_notification( WC_Order $order, boolean $sent_to_admin = true, boolean $plain_text = false )
Adds buttons in the WooCommerce customer emails when Integration mode is selected as manually using which customers can add deliveries/event into their calendars. |
public
|
|
public
|
#
save_ics_url_feed( )
Save the Google Import URL Feeds from Order Delivery Date->Settings->Google Calendar Sync tab->Import Events Called via AJAX |
public
|
#
delete_ics_url_feed( )
Delete the Google Import URL Feeds from Order Delivery Date->Settings->Google Calendar Sync tab->Import Events Called via AJAX |
public static
|
#
orddd_admin_delivery_calendar_events( )
Export deliveries to Google Calendar from the Order Delivery Date->Delivery Calendar->Add to Calendar button. This is especially used to export deliveries for orders that were placed before Automated Google Calendar Sync is enabled. |