WC_Email_Customer_Cancelled_Order::get_block_editor_email_template_contentpublicWC 1.0

Get block editor email template content.

Method of the class: WC_Email_Customer_Cancelled_Order{}

No Hooks.

Returns

String.

Usage

$WC_Email_Customer_Cancelled_Order = new WC_Email_Customer_Cancelled_Order();
$WC_Email_Customer_Cancelled_Order->get_block_editor_email_template_content();

WC_Email_Customer_Cancelled_Order::get_block_editor_email_template_content() code WC 10.7.0

public function get_block_editor_email_template_content() {
	return wc_get_template_html(
		$this->template_block_content,
		array(
			'order'         => $this->object,
			'sent_to_admin' => false,
			'plain_text'    => false,
			'email'         => $this,
		)
	);
}