PHP Class WC_Email_New_Order

An email sent to the admin when a new order is received/paid for.
Author: WooThemes
Inheritance: extends WC_Email
Afficher le fichier Open project: woocommerce/woocommerce

Méthodes publiques

Méthode Description
__construct ( ) Constructor.
get_content_html ( ) : string Get content html.
get_content_plain ( ) : string Get content plain.
init_form_fields ( ) Initialise settings form fields.
trigger ( integer $order_id ) 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

init_form_fields() public méthode

Initialise settings form fields.
public init_form_fields ( )

trigger() public méthode

Trigger.
public trigger ( integer $order_id )
$order_id integer