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

Packages

  • None
  • Order-Delivery-Date-Pro-for-WooCommerce
    • Admin
      • Edit-Order
      • Non-Sensitive-Data-Capture
      • Settings
        • Custom-Delivery
        • General
        • Google-Calendar-Sync
    • Class-ORDDD-Email-Manager
    • Common-Functions
    • Delivery-Calendar
    • Emails
      • Class-ORDDD-Email-Update-Date
    • Filter
    • Frontend
      • Checkout-Page-Processes
      • ICS-Files-Data
    • Google-Calendar
    • Integration
    • Lang
    • License
    • Plugin-Updates
      • EDD-SL-Plugin-Updater

Classes

  • orddd_integration
  • orddd_shipping_multiple_address

Class orddd_integration

orddd_integration Class

Package: Order-Delivery-Date-Pro-for-WooCommerce\Integration
Author: Tyche Softwares
Class: orddd_integration
Located at integration.php

Methods summary

public
# __construct( )

Constructor. Adds various hooks and filters based on the settings.

Constructor. Adds various hooks and filters based on the settings.

public static array
# woocommerce_api_create_order( array $order_data, WC_Order $order, array $fields, object $server )

Adds the Delivery Details to the WooCommerce API

Adds the Delivery Details to the WooCommerce API

Parameters

$order_data
  • Order Data
$order
  • Order Details
$fields
  • Request fields.
$server

Returns

array
$order_data - Updated Order Data with Delivery details.

Since

5.8

Hook

woocommerce_api_order_response
public static
# orddd_plugins_loaded( )

Executed during the 'plugins_loaded' WordPress hook.

Executed during the 'plugins_loaded' WordPress hook.

  • Load Supported Zapier Triggers

Since

2.7

Hook

plugins_loaded
public static array
# orddd_order_data_override( array $order_data, WC_Zapier_Trigger $trigger )

When sending WooCommerce Order data to Zapier, also send order delivery date field that have been created by the Order Delivery Date plugin.

When sending WooCommerce Order data to Zapier, also send order delivery date field that have been created by the Order Delivery Date plugin.

Parameters

$order_data
  • Order data that will be overridden.
$trigger
  • Trigger that initiated the data send.

Returns

array
$order_data - Updated Order data with delivery details.

Since

2.7
public static
# orddd_plugins_packing_slip( string $template_type = "", array $order = array() )

Adds delivery date and time selected for an order in the PDF invoices and Packing slips from WooCommerce PDF Invoices & Packing Slips plugin.

Adds delivery date and time selected for an order in the PDF invoices and Packing slips from WooCommerce PDF Invoices & Packing Slips plugin.

Parameters

$template_type
  • Template Type for the Invoice
$order
  • Order data

Since

2.7

Hook

wpo_wcpdf_after_order_details
public static array
# wc_csv_export_modify_column_headers( array $column_headers )

Adds delivery date and time column headings to CSV when order is exported from Order/Customer CSV Export Plugin.

Adds delivery date and time column headings to CSV when order is exported from Order/Customer CSV Export Plugin.

Parameters

$column_headers
  • List of Column Names

Returns

array
$column_headers - The list of column names

Since

2.7

Hook

wc_customer_order_csv_export_order_headers
public static array
# wc_csv_export_modify_row_data( array $order_data, object $order, object $csv_generator )

Adds delivery date and time column content to CSV when order is exported from Order/Customer CSV Export Plugin.

Adds delivery date and time column content to CSV when order is exported from Order/Customer CSV Export Plugin.

Parameters

$order_data
-
$order
  • Order Details
$csv_generator

Returns

array
$new_order_data - Delivery data

Since

2.7

Hook

wc_customer_order_csv_export_order_row
public static array
# orddd_plugin_print_invoice_delivery_note( array $fields, object $order )

Adds delivery date and time selected for an order in the invoices and delivery notes from WooCommerce Print Invoice & Delivery Note plugin.

Adds delivery date and time selected for an order in the invoices and delivery notes from WooCommerce Print Invoice & Delivery Note plugin.

Parameters

$fields
  • List of fields
$order
  • Order data

Returns

array
$fields - with the delivery data added

Since

2.7

Hook

wcdn_order_info_fields
public static
# cloud_print_fields( object $order )

Adds delivery date and time selected for an order in the prints from WooCommerce Print Orders plugin.

Adds delivery date and time selected for an order in the prints from WooCommerce Print Orders plugin.

Parameters

$order
  • Order Details

Since

2.7

Hook

woocommerce_cloudprint_internaloutput_footer
public static
# orddd_plugin_woocommerce_pip( string $type, string $action, string $document, resource $order )

Adds delivery date and time selected for an order in the invoices and delivery notes from WooCommerce Print Invoice/Packing list plugin.

Adds delivery date and time selected for an order in the invoices and delivery notes from WooCommerce Print Invoice/Packing list plugin.

Parameters

$type
$action
$document
$order
Order Details

Since

2.7

Todo

Need to check the type of the parameters.

Hook

wc_pip_after_body
public static array
# wpg_add_columns( array $cols )

Adds Delivery date and/or time column in CSV export file for WooCommerce Simply Order Export plugin.

Adds Delivery date and/or time column in CSV export file for WooCommerce Simply Order Export plugin.

Parameters

$cols
  • Column Names

Returns

array
$cols - Updated Column Names

Since

4.0

Hook

wpg_order_columns
public static
# wpg_add_fields( array $settings, array $settings,… )

Adds Delivery date and/or time field display settings on the Settings page for WooCommerce Simply Order Export plugin

Adds Delivery date and/or time field display settings on the Settings page for WooCommerce Simply Order Export plugin

Parameters

$settings
  • Settings
$settings,…
  • Updated with Delivery field settings

Since

4.0

Hook

wc_settings_tab_order_export
public static
# csv_write( array & $csv, resoruce $od, string $field, string $key, string $item_id, array $current_item )

Adds Delivery date and/or time details in CSV export file for WooCommerce Simply Order Export plugin.

Adds Delivery date and/or time details in CSV export file for WooCommerce Simply Order Export plugin.

Parameters

$csv
Values to export to CSV
$od
Order Object
$field
Field slug
$key
$item_id
$current_item

Since

4.0

Hook

wpg_add_values_to_csv
API documentation generated by ApiGen