WC_Email_Customer_Note::get_block_editor_email_template_content
Get block editor email template content.
Метод класса: WC_Email_Customer_Note{}
Хуков нет.
Возвращает
string.
Использование
$WC_Email_Customer_Note = new WC_Email_Customer_Note(); $WC_Email_Customer_Note->get_block_editor_email_template_content();
Код WC_Email_Customer_Note::get_block_editor_email_template_content() WC Email Customer Note::get block editor email template content WC 11.2.2
public function get_block_editor_email_template_content() {
return wc_get_template_html(
$this->template_block_content,
array(
'order' => $this->object,
'customer_note' => $this->customer_note,
'sent_to_admin' => false,
'plain_text' => false,
'email' => $this,
)
);
}