PHP Class WC_Email_Customer_Invoice

An email sent to the customer via admin.
Author: WooThemes
Inheritance: extends WC_Email
Afficher le fichier Open project: woocommerce/woocommerce Class Usage Examples

Méthodes publiques

Свойство Type Description
$find array Strings to find in subjects/headings.
$replace array Strings to replace in subjects/headings.

Méthodes publiques

Méthode Description
__construct ( ) Constructor.
get_content_html ( ) : string Get content html.
get_content_plain ( ) : string Get content plain.
get_heading ( ) : string Get email heading.
get_subject ( ) : string Get email subject.
init_form_fields ( ) Initialise settings form fields.
trigger ( integer | WC_Order $order ) Trigger.

Method Details

__construct() public méthode

Constructor.
public __construct ( )

get_content_html() public méthode

Get content html.
public get_content_html ( ) : string
Résultat string

get_content_plain() public méthode

Get content plain.
public get_content_plain ( ) : string
Résultat string

get_heading() public méthode

Get email heading.
public get_heading ( ) : string
Résultat string

get_subject() public méthode

Get email subject.
public get_subject ( ) : string
Résultat string

init_form_fields() public méthode

Initialise settings form fields.
public init_form_fields ( )

trigger() public méthode

Trigger.
public trigger ( integer | WC_Order $order )
$order integer | WC_Order

Property Details

$find public_oe property

Strings to find in subjects/headings.
public array $find
Résultat array

$replace public_oe property

Strings to replace in subjects/headings.
public array $replace
Résultat array