WC_Email_Customer_Fulfillment_Created::get_block_editor_email_template_contentpublicWC 1.0

Get block editor email template content.

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

Хуков нет.

Возвращает

Строку.

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

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

Код WC_Email_Customer_Fulfillment_Created::get_block_editor_email_template_content() WC 10.8.1

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