WC_Email_Customer_Fulfillment_Created::get_block_editor_email_template_content
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 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,
)
);
}