WC_Email_Customer_POS_Completed_Order::get_content_plainpublicWC 1.0

Get content plain.

Method of the class: WC_Email_Customer_POS_Completed_Order{}

No Hooks.

Returns

String.

Usage

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

WC_Email_Customer_POS_Completed_Order::get_content_plain() code WC 10.7.0

public function get_content_plain() {
	$this->add_pos_customizations();
	$content = wc_get_template_html(
		$this->template_plain,
		array(
			'order'                     => $this->object,
			'email_heading'             => $this->get_heading(),
			'additional_content'        => $this->get_additional_content(),
			'pos_store_name'            => $this->get_pos_store_name(),
			'pos_store_email'           => $this->get_pos_store_email(),
			'pos_store_phone_number'    => $this->get_pos_store_phone_number(),
			'pos_store_address'         => $this->get_pos_store_address(),
			'pos_refund_returns_policy' => $this->get_pos_refund_returns_policy(),
			'sent_to_admin'             => false,
			'plain_text'                => true,
			'email'                     => $this,
		)
	);
	$this->remove_pos_customizations();
	return $content;
}