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