WC_Email_Failed_Order::get_content_plain()publicWC 1.0

Get content plain.

Method of the class: WC_Email_Failed_Order{}

No Hooks.

Return

String.

Usage

$WC_Email_Failed_Order = new WC_Email_Failed_Order();
$WC_Email_Failed_Order->get_content_plain();

WC_Email_Failed_Order::get_content_plain() code WC 8.6.1

public function get_content_plain() {
	return wc_get_template_html(
		$this->template_plain,
		array(
			'order'              => $this->object,
			'email_heading'      => $this->get_heading(),
			'additional_content' => $this->get_additional_content(),
			'sent_to_admin'      => true,
			'plain_text'         => true,
			'email'              => $this,
		)
	);
}