WC_Email_Customer_Refunded_Order::get_block_editor_email_template_contentpublicWC 1.0

Get block editor email template content.

Метод класса: WC_Email_Customer_Refunded_Order{}

Хуков нет.

Возвращает

Строку.

Использование

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

Код WC_Email_Customer_Refunded_Order::get_block_editor_email_template_content() WC 10.0.2

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