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_Update_Date

Class ORDDD_Email_Update_Date

ORDDD_Email_Update_Date Class

WC_Email
Extended by ORDDD_Email_Update_Date
Package: Order-Delivery-Date-Pro-for-WooCommerce\Emails\Class-ORDDD-Email-Update-Date
Author: Tyche Softwares
Class: ORDDD_Email_Update_Date
Extends: WC_Email
Located at emails/class-orddd-email-update-date.php

Methods summary

public
# __construct( )

Constructor.

Constructor.

Defines class variables and hooks as needed.

Since

5.7
public
# trigger( integer $order_id, string $updated_by )

Sends an email to the admin or customer when the customer or admin edits the delivery details for an order respectively.

Sends an email to the admin or customer when the customer or admin edits the delivery details for an order respectively.

Parameters

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

Since

5.7

Hook

orddd_admin_update_date_notification
public
# get_content_html( )

This function gets the HTML content for the email sent to the admin or customer when the customer or admin edits the delivery details for an order respectively.

This function gets the HTML content for the email sent to the admin or customer when the customer or admin edits the delivery details for an order respectively.

Since

5.7
public
# get_content_plain( )

This function gets the Plain content for the email sent to the admin or customer when the customer or admin edits the delivery details for an order respectively.

This function gets the Plain content for the email sent to the admin or customer when the customer or admin edits the delivery details for an order respectively.

Since

5.7
public
# get_subject( )

This function gets the subject for the email sent to the admin or customer when the customer or admin edits the delivery details for an order respectively.

This function gets the subject for the email sent to the admin or customer when the customer or admin edits the delivery details for an order respectively.

Since

5.7
public
# get_heading( )

This function gets the heading for the email sent to the admin or customer when the customer or admin edits the delivery details for an order respectively.

This function gets the heading for the email sent to the admin or customer when the customer or admin edits the delivery details for an order respectively.

Since

5.7
public
# init_form_fields( )

This function adds the form fields for the Email to be visible in WooCommerce->Settings->Emails->Delivery Date & Time Updated

This function adds the form fields for the Email to be visible in WooCommerce->Settings->Emails->Delivery Date & Time Updated

Since

5.7
API documentation generated by ApiGen