Eeco_WCO_Offer_Expiring_Email
extends WC_Email
in package
Class Eeco_WCO_New_Offer_Email
Table of Contents
- __construct() : void
- Create an instance of the class.
- enqueue_emails() : mixed
- Enqueues emails when a request has been made
- get_content_html() : mixed
- Get content html
- get_content_plain() : mixed
- Get content plain
- get_default_content() : string
- The main content of the email
- get_default_heading() : string
- Get email heading.
- get_default_subject() : string
- Get email subject.
- init_form_fields() : mixed
- Settings fields
- trigger() : mixed
- Trigger Function that will send this email to the recipient
Methods
__construct()
Create an instance of the class.
public
__construct() : void
Tags
Return values
void —enqueue_emails()
Enqueues emails when a request has been made
public
enqueue_emails(array<string|int, mixed> $offer) : mixed
Parameters
- $offer : array<string|int, mixed>
-
The offer data
Return values
mixed —get_content_html()
Get content html
public
get_content_html() : mixed
Return values
mixed —get_content_plain()
Get content plain
public
get_content_plain() : mixed
Return values
mixed —get_default_content()
The main content of the email
public
get_default_content() : string
Return values
string —get_default_heading()
Get email heading.
public
get_default_heading() : string
Return values
string —get_default_subject()
Get email subject.
public
get_default_subject() : string
Return values
string —init_form_fields()
Settings fields
public
init_form_fields() : mixed
Return values
mixed —trigger()
Trigger Function that will send this email to the recipient
public
trigger() : mixed