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_Email_Manager

Class ORDDD_Email_Manager

ORDDD_Email_Manager Class

Package: Order-Delivery-Date-Pro-for-WooCommerce\Class-ORDDD-Email-Manager
Author: Tyche Softwares
Class: ORDDD_Email_Manager
Located at class-orddd-email-manager.php

Methods summary

public
# __construct( )

Constructor sets up hooks to add the email actions to WooCommerce emails.

Constructor sets up hooks to add the email actions to WooCommerce emails.

Since

5.7
public array
# bkap_init_emails( array $emails )

Adds the Email class file to ensure the emails from the plugin are fired based on the settings.

Adds the Email class file to ensure the emails from the plugin are fired based on the settings.

Parameters

$emails
  • List of Emails already setup by WooCommerce

Returns

array
$emails - List of Emails with the ones from the plugin included.

Since

5.7

Hook

woocommerce_email_classes
public string
# bkap_template_directory( string $directory, string $template )

Returns the directory name in which the template file is present.

Returns the directory name in which the template file is present.

Parameters

$directory
  • Directory Name in which the template is present.
$template
  • Email Template File Name

Returns

string
$directory - Directory Name in which the template is present. Modified when the template is for our plugin.

Since

5.7

Hook

woocommerce_template_directory
public static
# orddd_send_email_on_update( integer $order_id, string $updated_by )

Adds a hook to fire the delivery date/time edit email notice.

Adds a hook to fire the delivery date/time edit email notice.

Parameters

$order_id
  • Order ID for which the Delivery Date/Time is edited.
$updated_by
  • States by whom are the details being updated. Valid Values: admin|customer

Since

6.8
API documentation generated by ApiGen