PHP Class WC_Email_Failed_Order

An email sent to the admin when payment fails to go through.
Author: WooThemes
Inheritance: extends WC_Email
Mostra file Open project: woocommerce/woocommerce

Public Methods

Method 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 method

Constructor
public __construct ( )

get_content_html() public method

Get content html.
public get_content_html ( ) : string
return string

get_content_plain() public method

Get content plain.
public get_content_plain ( ) : string
return string

init_form_fields() public method

Initialise settings form fields.
public init_form_fields ( )

trigger() public method

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